1 # Contributor: Artiom Molchanov <ar.molchanov@gmail.com>
5 pkgdesc="A classical memory game"
7 url="http://lgames.sourceforge.net/index.php?project=LPairs"
10 source=(http://prdownloads.sourceforge.net/lgames/$pkgname-$pkgver.tar.gz lpairs.png lpairs.desktop)
11 md5sums=('5eb00da9f7fc15dc5ce840c312e76cfa'
12 '84ec4214be7b177b57cc725a65618212'
13 'b24f0e5fec81012110ad3cc381769146')
15 cd "$startdir/src/$pkgname-$pkgver"
17 ./configure --prefix=/usr
19 make DESTDIR="$startdir/pkg" install
21 mkdir -p ${startdir}/pkg/usr/share/applications
22 install -m644 ${startdir}/lpairs.desktop ${startdir}/pkg/usr/share/applications/
23 mkdir -p ${startdir}/pkg/usr/share/pixmaps
24 install -m644 ${startdir}/lpairs.png ${startdir}/pkg/usr/share/pixmaps/