diff options
author | haawda | 2019-02-11 20:38:08 +0100 |
---|---|---|
committer | haawda | 2019-02-11 20:38:08 +0100 |
commit | 75e27acc45f1d94ac546019c68bdb4899498ad8a (patch) | |
tree | 32fc9e9e4ecb49264267d80f45c804cad7a34aec | |
parent | 44c892cc01cfbe14ee15f1b5df244b6bfca22589 (diff) | |
download | aur-75e27acc45f1d94ac546019c68bdb4899498ad8a.tar.gz |
simplify build
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 4 insertions, 5 deletions
@@ -7,6 +7,7 @@ pkgbase = findwild arch = x86_64 license = GPL3 depends = gtk3 + options = !emptydirs source = http://www.kornelix.net/downloads/tarballs/findwild-2.5.tar.gz sha256sums = f46d056f5394c4d1fc45fdf42b426e1abcfdff858b7e1f60dedba69985845933 @@ -9,17 +9,15 @@ pkgdesc="A program to find files with a nice gtk interface" url="http://www.kornelix.net/findwild/findwild.html" source=("http://www.kornelix.net/downloads/tarballs/$pkgname-$pkgver.tar.gz") sha256sums=('f46d056f5394c4d1fc45fdf42b426e1abcfdff858b7e1f60dedba69985845933') +options=('!emptydirs') build() { cd $pkgname - export PREFIX=/usr - sed -i 's+xdg-deskto+#xdg-deskto+' Makefile - make LDFLAGS="-lpthread" + make } package() { cd $pkgname - make DESTDIR="$pkgdir" install - rm "$pkgdir"/usr/share/doc/$pkgname/$pkgname.man + make DESTDIR="$pkgdir" install } |