updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / edit / PKGBUILD
blob87352807eaeebf37081fe6d2fbdd4bb6c63b34aa
1 # Contributor: Gary James <garyjames82@gmail.com>
2 pkgname=edit
3 pkgver=2.1
4 pkgrel=1
5 pkgdesc="Simple Editor for the ROX Desktop"
6 arch=('i686')
7 url="http://roscidus.com/desktop/Edit"
8 license=('GPL')
9 depends=(rox-lib)
10 source=(http://downloads.sourceforge.net/project/rox/Edit/$pkgver/$pkgname-$pkgver.tar.bz2)
11 md5sums=('e3a29bd0e1183fd10c5a4a2da21dc0e5')
13 build() {
14   cd "$srcdir/$pkgname-$pkgver/Edit"
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   mkdir -p "$pkgdir/usr/bin"
20   echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
21   echo "/usr/share/$pkgname/AppRun" >> $pkgdir/usr/bin/$pkgname
22   chmod +x $pkgdir/usr/bin/$pkgname
25 # vim:set ts=2 sw=2 et: