updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / gtklxsplit / PKGBUILD
blobbc98bd0bff7525c620b483ace1a65e73dc67f2d3
1 # Contributor: Rick Moore <xbj9000 :AT: comcast :DOT: net>
3 pkgname=gtklxsplit
4 pkgver=0.1.1
5 pkgrel=2
6 pkgdesc="GTK frontend for lxsplit"
7 arch=(i686 x86_64)
8 url="http://estudiantes.univalle.edu.co/~juanjmed/gtklxsplit/GTKlxsplit.html"
9 license=("GPL")
10 depends=('lxsplit' 'gtk')
11 source=("http://estudiantes.univalle.edu.co/~juanjmed/gtklxsplit/packages/gtklxsplit-0.1.1.tar.gz"
12         "http://electronicplaygirl.com/arch/gtklxsplit/make.patch"
13         "http://electronicplaygirl.com/arch/gtklxsplit/gtklxsplit.desktop.txt")
14 md5sums=('e36019ce06ef31786aea43ac78061a35'
15          '3e2f18594fff7552359d1bc3b671a361'
16          'a5b34f7a4401a29a3b7c3a9b243af8af')
18 build() {
19   mkdir $startdir/pkg/usr
20   mkdir $startdir/pkg/usr/bin
21   mkdir $startdir/pkg/usr/share
22   mkdir $startdir/pkg/usr/share/applications
23   patch $startdir/src/gtksplit/Makefile < $startdir/make.patch || return 1
24   cd $startdir/src/gtksplit  
25   make || return 1
26   make DESTDIR=$startdir/pkg install || return 1
27   cp $startdir/gtklxsplit.desktop.txt $startdir/pkg/usr/share/applications/gtklxsplit.desktop