summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorshtrom2010-12-21 02:13:56 +0000
committershtrom2010-12-21 02:13:56 +0000
commitcc610b9768b7b77b57ecb625fec16f49809e803e (patch)
tree80771cf2acb01b28fc6d66e88d7d16d6bc6d2cea
parent7c7644e93a5f595e7d80f72b33f13871aeb0629c (diff)
downloadaur-cc610b9768b7b77b57ecb625fec16f49809e803e.tar.gz
[ipkg*] Updates by vadmium@AUR
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/archlinux-packages@271 df209809-8e4a-0410-9a64-c169741eb0fc
-rw-r--r--PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a1a1f18f5a7..a05e73567a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,13 +8,16 @@ pkgdesc="The Itsy Package Management System"
url="http://handhelds.org/moin/moin.cgi/Ipkg"
source=(http://www.handhelds.org/download/packages/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('0b10ad2924611bccaea8ddf98481a192')
-arch=('i686')
+arch=('i686' 'x86_64')
license=('GPL')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr || exit 1
- make || exit 2
- make DESTDIR=$startdir/pkg install || return 3
- ln -s /usr/bin/ipkg-cl $startdir/pkg/usr/bin/ipkg
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ make -C "$srcdir/$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ ln -s /usr/bin/ipkg-cl "$pkgdir/usr/bin/ipkg"
}