Merge pull request #124 from Ypnose/master

bspwm + sxhkd
This commit is contained in:
Juan RP 2013-08-12 12:36:58 -07:00
commit 073ea9da29
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,34 @@
# Template file for 'bspwm-git'
pkgname=bspwm-git
version=20130812
revision=1
makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel"
short_desc="A tiling window manager based on binary space partitioning"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="BSD"
homepage="https://github.com/baskerville/bspwm"
nofetch=yes
noextract=yes
do_fetch() {
local url="git://github.com/baskerville/bspwm"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
do_build() {
sed -i 's/LIBS =/LIBS +=/g' Makefile
make CC=$CC INCS="-I." ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
vinstall LICENSE 644 usr/share/licenses/$pkgname
}
bspwm-git_package() {
pkg_install() {
vmove usr
}
}

View file

@ -0,0 +1,34 @@
# Template file for 'sxhkd-git'
pkgname=sxhkd-git
version=20130812
revision=1
makedepends="libxcb-devel xcb-util-devel xcb-util-keysyms-devel"
short_desc="Simple X HotKey Daemon"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="BSD"
homepage="https://github.com/baskerville/sxhkd"
nofetch=yes
noextract=yes
do_fetch() {
local url="git://github.com/baskerville/sxhkd"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
do_build() {
sed -i 's/LIBS =/LIBS +=/g' Makefile
make CC=$CC INCS="-I." ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
vinstall LICENSE 644 usr/share/licenses/$pkgname
}
sxhkd-git_package() {
pkg_install() {
vmove usr
}
}