git » judy.git » commit 3bddfba

remove pkgdir from build()

author Sergej Pupykin
2013-02-04 16:16:05 UTC
committer Sergej Pupykin
2013-02-04 16:16:05 UTC
parent 05f3e5d41332799cb64a1ea77c228fa2780b9686

remove pkgdir from build()

PKGBUILD +5 -2

diff --git a/PKGBUILD b/PKGBUILD
index 2e54e88..cbb22b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,10 +13,13 @@ url="http://judy.sourceforge.net/"
 source=(http://downloads.sourceforge.net/judy/Judy-$pkgver.tar.gz)
 md5sums=('115a0d26302676e962ae2f70ec484a54')
 
-build()
-{
+build() {
   cd $srcdir/$pkgname-$pkgver
   [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr
   make -j1
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
   make DESTDIR=$pkgdir install
 }