1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: Your Name <youremail@domain.com>
10 pkgdesc="A Qt based window manager"
12 url="http://www.alinden.mynetcologne.de/qlwm/"
18 md5sums=('d8337263eb3f8045b8499d19de0d982c')
19 source=(http://www.alinden.mynetcologne.de/qlwm/$pkgname-$pkgver.tar.gz)
22 cd "$srcdir/$pkgname-$pkgver"
23 sed -i "s#/usr/local/bin/qlwm#$pkgdir/usr/bin/qlwm#" Makefile
25 make DEST=/usr/share/qlwm MANPATH=/usr/share/man QMAKE=qmake || return 1
27 install -d -m755 "$pkgdir/usr/share/man/man1"
28 install -d -m755 "$pkgdir/usr/bin"
29 install -d -m755 "$pkgdir/etc/qlwm"
31 make DEST="$pkgdir/usr/share/qlwm" MANPATH="$pkgdir/usr/share/man" install || return 1
33 #do some cleaning up for hardcoded symlinks
34 ln -sf /usr/share/qlwm/qlwm "$pkgdir/usr/bin/qlwm"
36 for i in defaults appdefaults menuconfig; \
37 do cp -v files/$i $pkgdir/etc/qlwm; \
41 # vim:set ts=2 sw=2 et: