updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / tagsistant / PKGBUILD
blob739591edda69c0b2f985b5986c4d8f4b779d9602
1 # Maintainer: Joshua Stiefer <facedelajunk@gmail.com>
2 # Contributor: Devin Mullins <me@twifkak.com>
4 pkgname=tagsistant
5 pkgver=0.2.20110922
6 pkgrel=3
7 pkgdesc="a semantic (tagging) filesystem"
8 arch=('i686' 'x86_64')
9 url="http://www.tagsistant.net/"
10 license=('GPL')
11 depends=('fuse' 'sqlite3' 'gtk2')
12 conflicts=('tagsistant-development')
13 options=(!libtool)
14 install=tagsistant.install
15 source=("tagsistant-0.2-20110922.tgz::http://www.tagsistant.net/download/tagsistant-02/download"
16                 "01_file_handle.patch")
17 md5sums=('72cf782be5d9e7f0c7bd7210052fdcf1'
18                  '33f84ef85c0ff1142ad7f461467589e0')
20 build() {
21   cd "$srcdir/$pkgname-0.2-20110922"
22   ./configure --prefix=/usr --datarootdir="$pkgdir/usr/share"
23   patch -p0 < "$srcdir/01_file_handle.patch"
24   sed -i "{ s#@prefix@#\${DESTDIR}/@prefix@#g; s#/usr/bin/install#/bin/install#g }" Makefile.am src/tagman/Makefile.am
25   make
28 package() {
29   cd "$srcdir/$pkgname-0.2-20110922"
30   make DESTDIR="$pkgdir" install