New package: mcwm-git
This commit is contained in:
parent
44c27bd143
commit
f943621136
1 changed files with 39 additions and 0 deletions
39
srcpkgs/mcwm-git/template
Normal file
39
srcpkgs/mcwm-git/template
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Template file for 'mcwm-git'
|
||||
pkgname=mcwm-git
|
||||
version="$(date +%Y%m%d)"
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
makedepends="libxcb-devel xcb-proto xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel"
|
||||
short_desc="A minimalist stacking X window manager based on XCB"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
license="ISC"
|
||||
homepage="http://hack.org/mc/projects/mcwm/"
|
||||
|
||||
nofetch=yes
|
||||
noextract=yes
|
||||
|
||||
do_fetch() {
|
||||
local url="git://hack.org/mcwm"
|
||||
msg_normal "Fetching source from $url ...\n"
|
||||
git clone ${url} ${pkgname}-${version}
|
||||
}
|
||||
|
||||
do_build() {
|
||||
sed -i 's/man\/man1/share\/man\/man1/g' Makefile
|
||||
make CC=$CC ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/bin
|
||||
vmkdir usr/share/man/man1
|
||||
make PREFIX=${DESTDIR}/usr install
|
||||
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||
}
|
||||
|
||||
mcwm-git_package() {
|
||||
provides="mcwm-${version}"
|
||||
replaces="mcwm>=0"
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue