[arch-commits] Commit in enigma/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 14:09:24 UTC 2020
Date: Tuesday, July 7, 2020 @ 14:09:24
Author: felixonmars
Revision: 658730
archrelease: copy trunk to community-staging-x86_64
Added:
enigma/repos/community-staging-x86_64/
enigma/repos/community-staging-x86_64/PKGBUILD
(from rev 658728, enigma/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: enigma/repos/community-staging-x86_64/PKGBUILD (from rev 658728, enigma/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 14:09:24 UTC (rev 658730)
@@ -0,0 +1,29 @@
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Jason Chu <jason at archlinux.org>
+# Maintainer: schuay <jakob.gruber at gmail.com>
+
+pkgname=enigma
+pkgver=1.04
+pkgrel=7
+pkgdesc=" Enigma is a puzzle game involving falling blocks"
+arch=('x86_64')
+url="https://www.chiark.greenend.org.uk/~sgtatham/enigma/"
+license=('custom')
+depends=('ncurses')
+source=("https://www.chiark.greenend.org.uk/~sgtatham/$pkgname/$pkgname-$pkgver.tar.gz")
+sha512sums=('a7de38cfae06b82c6b7007167157f65d7dd7cd9da5647896a78aff6ddcc8f4290103e6a9f5eb156fd63c2b763687f12eec0f29f5b9813bd2ca63f8b3ed2fda83')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ autoconf # Default CPP and CPPFLAGS cause errors. See FS#36228.
+ ./configure --prefix=/usr --localstatedir=/var
+ sed -i "s/root\.games/root.root/" Makefile
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ mkdir -p $pkgdir/usr/bin
+ make prefix=$pkgdir/usr localstatedir=$pkgdir/var install
+ install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/license
+}
More information about the arch-commits
mailing list