updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / libetc / PKGBUILD
blob5b7380e96897809fa238a4b77f50b8734156ffd1
1 # Contributor: Simon Lipp <sloonz+aur@gmail.com>
3 pkgname=libetc
4 pkgver=0.4
5 pkgrel=2
6 pkgdesc="Automatically translate ~/.* to ~/.config/*"
7 arch=(i686 x86_64)
8 url="http://ordiluc.net/fs/libetc/"
9 license=(GPL3)
10 depends=()
11 makedepends=('make')
12 install=libetc.install
13 source=('http://ordiluc.net/fs/libetc/libetc-0.4.tar.gz'
14         'libetc-0.4-makefile.patch'
15         'libetc-0.4-firefox35.patch')
16 md5sums=('d72901834a7246c871f5985a30940f4c'
17          '9c06072dc4d817db25a6c83fe3071e8a'
18          'fbe2dce5013d5d89b1d75387247618eb')
20 build() {
21         cd $startdir/src/$pkgname-$pkgver
22         patch -p1 < $startdir/src/libetc-0.4-firefox35.patch || return 1
23         patch -p1 < $startdir/src/libetc-0.4-makefile.patch || return 1
24         CFLAGS="$CFLAGS -DXAUTH_HACK" make || return 1
25         make DESTDIR=$startdir/pkg install || return 1