updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / lsx / PKGBUILD
blob479f5c8bd0d44b8e8ef05af486995c863114d609
1 # Maintainer: Andreas Wagner <andreas dot wagner at em dot uni-frankfurt dot de>
2 # Contributor: Dag Odenhall <dag.odenhall-gmail.com>
3 # Contributor: Giorgio Lando <patroclo7-gmail.com>
4 pkgname=lsx
5 pkgver=0.1
6 pkgrel=11
7 pkgdesc="List executables"
8 license=(MIT)
9 arch=('i686' 'x86_64')
10 url=http://www.suckless.org/programs/lsx.html
11 depends=(glibc)
12 source=(http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz)
13 md5sums=('d48fdce9868b13bf5ef3e7834768f89f')
15 build() {
16         cd $srcdir/$pkgname-$pkgver
17         sed -i "s/CFLAGS = /CFLAGS = ${CFLAGS} /" config.mk
18         make clean PREFIX=/usr DESTDIR=$pkgdir install
19         install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE