diff options
Diffstat (limited to 'community/swarp/PKGBUILD')
-rw-r--r-- | community/swarp/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/swarp/PKGBUILD b/community/swarp/PKGBUILD new file mode 100644 index 000000000..31cf3ca96 --- /dev/null +++ b/community/swarp/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 20069 2010-07-02 09:39:00Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Dag Odenhall <dag.odenhall@gmail.com> + +pkgname=swarp +pkgver=0.1 +pkgrel=2 +pkgdesc="Simple pointer warp" +license=('MIT') +arch=(i686 x86_64) +url="http://tools.suckless.org/" +depends=(glibc libx11) +source=(http://dl.suckless.org/tools/swarp-$pkgver.tar.gz + config.mk) +md5sums=('b674dd2f33c45cbd789e4b6e09b7b55e' + '6fccb02af362a7284df689eea053a154') + +build() { + cd $srcdir/$pkgname-$pkgver + cp $srcdir/config.mk . + sed -i "s/%VERSION%/$pkgver/g" config.mk + sed -i "s/%CFLAGS%/$CFLAGS/g" config.mk + + make || return 1 + make DESTDIR=$pkgdir install + + install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/COPYING +} |