mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
29 lines
790 B
Bash
29 lines
790 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Dag Odenhall <dag.odenhall@gmail.com>
|
||
|
|
||
|
pkgname=swarp
|
||
|
pkgver=0.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="Simple pointer warp"
|
||
|
license=('MIT')
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://code.suckless.org/dl/tools/"
|
||
|
depends=(glibc libx11)
|
||
|
source=(http://code.suckless.org/dl/tools/$pkgname-$pkgver.tar.gz \
|
||
|
config.mk)
|
||
|
md5sums=('b674dd2f33c45cbd789e4b6e09b7b55e'
|
||
|
'6fccb02af362a7284df689eea053a154')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/$pkgname-$pkgver
|
||
|
cp $startdir/src/config.mk .
|
||
|
sed -i "s/%VERSION%/$pkgver/g" config.mk
|
||
|
sed -i "s/%CFLAGS%/$CFLAGS/g" config.mk
|
||
|
|
||
|
make || return 1
|
||
|
make DESTDIR=$startdir/pkg install
|
||
|
|
||
|
install -m644 -D LICENSE $startdir/pkg/usr/share/licenses/$pkgname/COPYING
|
||
|
}
|