updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / mem / PKGBUILD
blob5601f4fc2cd4402e3c1a2053b5709985fe47a86e
1 # Contributor: Gary James <garyjames82@gmail.com>
2 pkgname=mem
3 pkgver=2.1.5
4 pkgrel=1
5 pkgdesc="Memory applet for the rox desktop"
6 arch=('i686')
7 url="http://www.kerofin.demon.co.uk/rox/mem.html"
8 license=('GPL')
9 depends=(rox-clib libgtop)
10 source=(http://www.kerofin.demon.co.uk/rox/Mem-$pkgver.tar.gz)
11 md5sums=('341842ff1f6c76474e81c4e2e00fde85')
13 build() {
14   cd "$srcdir/Mem"
15   rm -R Help
16   mkdir -p "$pkgdir/usr/share/$pkgname"
17   cp -R * "$pkgdir/usr/share/$pkgname"
18   cp -R .DirIcon "$pkgdir/usr/share/$pkgname"
19   cd "$pkgdir/usr/share/$pkgname"
20   ./AppRun --compile
21   mkdir "$pkgdir/usr/bin"
22   echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
23   echo "/usr/share/$pkgname/AppRun" >> $pkgdir/usr/bin/$pkgname
24   chmod +x $pkgdir/usr/bin/$pkgname
27 # vim:set ts=2 sw=2 et: