diff options
author | Robert Lowe | 2018-02-14 07:51:57 -0500 |
---|---|---|
committer | Robert Lowe | 2018-02-14 07:51:57 -0500 |
commit | e911619bf9c5e9794db154603f0c1f9322e20081 (patch) | |
tree | c8fa9d28d983a52098a0907c439be197689de5fb /PKGBUILD | |
download | aur-e911619bf9c5e9794db154603f0c1f9322e20081.tar.gz |
Initial Version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dda36b4eae89 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Robert Lowe <pngwen@acm.org> +pkgname=xpilot +pkgver=4.5.5 +pkgrel=1 +pkgdesc='XPilot - Multiplayer online space action since 1991' +arch=('x86_64') +url='http://xpilot.org' +license=('GPL') +makedepends=('imake' 'setconf' 'xorgproto') +source=("$pkgname-$pkgver.tar.bz2::https://downloads.sourceforge.net/project/xpilotgame/xpilot-4/xpilot-4.5.5/xpilot-$pkgver.tar.bz2") +sha256sums=('5e40424d093c8b712170a5dff3396df63302775f42da829b8832840f359cd92a') + +prepare() { + cd "$pkgname-$pkgver" + setconf -a Local.config PREFIX=/usr + sed -i 's/getline/xpilot_getline/g' src/client/textinterface.c + xmkmf -a + cd .. +} + +build() { + cd "$pkgname-$pkgver" + make -s +} + +package() { + cd $pkgname-$pkgver + make -s DESTDIR="$pkgdir/" install install.man +} |