[arch-commits] Commit in enigma/trunk (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Wed Aug 6 04:41:42 EDT 2008


    Date: Wednesday, August 6, 2008 @ 04:41:42
  Author: ronald
Revision: 8088

fix license & add arch field

Modified:
  enigma/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++++
 1 file changed, 7 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-06 08:39:57 UTC (rev 8087)
+++ PKGBUILD	2008-08-06 08:41:42 UTC (rev 8088)
@@ -8,8 +8,11 @@
 pkgdesc=" Enigma is a puzzle game involving falling blocks"
 depends=('ncurses')
 source=(http://www.chiark.greenend.org.uk/~sgtatham/enigma/$pkgname-$pkgver.tar.gz)
+license=('custom')
+arch=('i686' 'x86_64')
 md5sums=('a54ee9ae40dae781560a3c2b1ce8f45d')
 url="http://www.chiark.greenend.org.uk/~sgtatham/enigma/"
+
 build() {
 cd $startdir/src/$pkgname-$pkgver
 ./configure --prefix=/usr --localstatedir=/var
@@ -17,4 +20,8 @@
 mkdir -p $startdir/pkg/usr/bin
 make || return 1
 make prefix=$startdir/pkg/usr localstatedir=$startdir/pkg/var install
+
+# install custom license
+install -Dm644 $srcdir/$pkgname-$pkgver/LICENSE \
+	$pkgdir/usr/share/licenses/$pkgname/LICENSE
 }




More information about the arch-commits mailing list