summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJan Cholasta2015-05-19 19:35:36 +0200
committerJan Cholasta2015-05-21 09:50:22 +0200
commit8144047000ef959168dcf8229110cb055d7bf567 (patch)
tree9edcb8bb0cff0ebbfba2575ab2e41c3149c6bc3b /PKGBUILD
parent3a3cbbba1704bc5953019b8ddf2560560dca1b75 (diff)
downloadaur-8144047000ef959168dcf8229110cb055d7bf567.tar.gz
Coding style fixes
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3a27aeada00..21530df1289 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,19 +14,19 @@ sha256sums=('e3b7c4bce21c2f9b77732a9b5920b6877e884b31dd1ed9273776538dba48a75c')
build() {
cd $pkgname-$pkgver-source
-
- ln -sf Makefile.unx Makefile
- make glBSPX BASE_FLAGS="${CFLAGS} -Isrc -DUNIX -DINLINE_G=inline" || return 1
+ make -f Makefile.unx glBSPX \
+ BASE_FLAGS="$CFLAGS -Isrc -DUNIX -DINLINE_G=inline"
}
package() {
cd $pkgname-$pkgver-source
mkdir -p $pkgdir/usr/{bin,share/man/man1}
- make INSTALL_PREFIX=$pkgdir/usr install
+ make -f Makefile.unx install \
+ INSTALL_PREFIX="$pkgdir/usr"
- install -m755 glBSPX $pkgdir/usr/bin/glbspx
- install -Dm644 libglbsp.a $pkgdir/usr/lib/libglbsp.a
- install -Dm644 src/glbsp.h $pkgdir/usr/include/glbsp.h
+ install -m755 glBSPX "$pkgdir/usr/bin/glbspx"
+ install -Dm644 libglbsp.a "$pkgdir/usr/lib/libglbsp.a"
+ install -Dm644 src/glbsp.h "$pkgdir/usr/include/glbsp.h"
}