diff options
author | Kyle Keen | 2015-08-09 15:59:30 -0400 |
---|---|---|
committer | Kyle Keen | 2015-08-09 15:59:30 -0400 |
commit | 0674eb9c8fb5946577f6073cc711fdf31d1ecceb (patch) | |
tree | 21f7d662400c2c4e9448a3e64f8c8c8a995837f8 | |
download | aur-0674eb9c8fb5946577f6073cc711fdf31d1ecceb.tar.gz |
aur3 recovery
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | gnubik.install | 13 |
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..09c22a5f8f90 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = gnubik + pkgdesc = The GNUbik program is an interactive, graphical, cube puzzle. + pkgver = 2.4.1 + pkgrel = 1 + url = http://www.gnu.org/software/gnubik/ + install = gnubik.install + arch = any + license = GPL3 + depends = guile + depends = mesa + depends = gtk2 + depends = gtkglext + source = ftp://ftp.gnu.org/gnu/gnubik/gnubik-2.4.1.tar.gz + md5sums = 62433d6b65d046e7f56fb8b41ea1837c + +pkgname = gnubik + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1198e3efe2f0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer : José Wojnacki <jose.wo at gmail dot com> +# Contributor: Marcos Heredia <chelqo at gmail dot com> + +pkgname=gnubik +pkgver=2.4.1 +pkgrel=1 +pkgdesc="The GNUbik program is an interactive, graphical, cube puzzle." +arch=('any') +url="http://www.gnu.org/software/gnubik/" +license=('GPL3') +depends=('guile' 'mesa' 'gtk2' 'gtkglext') +install=${pkgname}.install +source=("ftp://ftp.gnu.org/gnu/gnubik/$pkgname-$pkgver.tar.gz") +md5sums=('62433d6b65d046e7f56fb8b41ea1837c') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install + #rm $pkgdir/usr/share/icons/hicolor/icon-theme.cache + + install -dm755 "$pkgdir/usr/share/licenses/$pkgname/" + install -Dpm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/" + + install -dm755 "$pkgdir/usr/share/doc/$pkgname/" + install -Dpm644 ABOUT-NLS AUTHORS ChangeLog INSTALL NEWS README TODO "$pkgdir/usr/share/doc/$pkgname/" +} diff --git a/gnubik.install b/gnubik.install new file mode 100644 index 000000000000..86d82cfff73d --- /dev/null +++ b/gnubik.install @@ -0,0 +1,13 @@ +post_install() { + echo -n "Updating icon cache... " + gtk-update-icon-cache /usr/share/icons/hicolor + echo "done." +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |