updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / fixme / PKGBUILD
blobe2f854eb6365d0d839361a2431f963a70710fbdc
1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
3 pkgname=fixme
4 pkgver=1.0
5 pkgrel=1
6 arch=('i686' 'x86_64')
7 depends=('gtk2' 'xdg-utils')
8 license=('GPL3')
9 pkgdesc="Unscramble a square matrix of numbered tiles to put them in order. "
10 url="http://www.kornelix.squarespace.com/fixme"
11 source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz")
12 md5sums=('0183ba08769d3b2e68a94803ebc3e7d6')
13 build() {
14   cd ${srcdir}/$pkgname-$pkgver
15   sed -i 's+xdg-deskto+#xdg-deskto+' Makefile
16   make PREFIX=/usr CFLAGS+="-c $(pkg-config --cflags gtk+-2.0)" \
17     LFLAGS+="`pkg-config --libs gtk+-2.0 gthread-2.0`"
18   sed -i 's+^# ++' data/desktop 
20 package() { 
21   cd $srcdir/$pkgname-$pkgver
22   install -Dm644 data/desktop \
23     $pkgdir/usr/share/applications/$pkgname.desktop
24   make DESTDIR=$pkgdir install
25   rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop