summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-11-29 21:58:43 +0100
committerJaroslav Lichtblau2014-11-29 21:58:43 +0100
commit625d0913c1a56c2ecfebd2f83f5f2cd54904487f (patch)
treee38af7b8ea724fdc8e59a738e1cab7b4e6d99680 /PKGBUILD
parent98f574412f865c4ec31a917fb17b81d9288e20d3 (diff)
downloadaur-moon-buggy.tar.gz
moon-buggy-1.0.51-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b6fa01b877b..c9e4f4c3e0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,19 +16,22 @@ source=(http://seehuhn.de/data/$pkgname-$pkgver.tar.gz Makefile.in.patch)
md5sums=('bfe23ef5cfa838ac261eee34ea5322f3'
'8c8cb8a25e12f574243778dac8e376a1')
-build() {
- cd ${srcdir}/$pkgname-$pkgver
+prepare() {
+ cd "${srcdir}"/$pkgname-$pkgver
patch -Np0 -i ${srcdir}/Makefile.in.patch
+}
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
make
}
package() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd "${srcdir}"/$pkgname-$pkgver
- make DESTDIR=${pkgdir} install
-
- rm ${pkgdir}/usr/share/info/dir
+ make DESTDIR="${pkgdir}" install
+ rm "${pkgdir}"/usr/share/info/dir
}