summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 786b068405b82bba658bfe3a131de3ed5cfd9d0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer : José Wojnacki <jose.wo at gmail dot com>
# Contributor: Marcos Heredia <chelqo at gmail dot com>

pkgname=gnubik
pkgver=2.4.3
pkgrel=1
pkgdesc="The GNUbik program is an interactive, graphical, cube puzzle."
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/gnubik/"
license=('GPL3')
depends=('guile' 'mesa' 'gtk2' 'gtkglext')
source=("ftp://ftp.gnu.org/gnu/gnubik/$pkgname-$pkgver.tar.gz")
md5sums=('aad4f17dda98912d5f30ca4a181bfea0')

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/"
}