summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2017-10-08 16:28:36 +0200
committerhaawda2017-10-08 16:28:36 +0200
commit8c6863d96dc8b05d27056fa7e47d0852e8b6eaa4 (patch)
tree5aed509c189c7d98629d04c8d6d24250fcf96da8
parentf7b33e3b0f85481f8688edb14b5f6faf485308fd (diff)
downloadaur-8c6863d96dc8b05d27056fa7e47d0852e8b6eaa4.tar.gz
fix PKGBUILD
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 112b04b1882..d0e90be9c42 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Sat Sep 30 03:09:12 UTC 2017
pkgbase = sam2p
pkgdesc = A bitmap-to-eps-or-pdf-converter that produces very small files
pkgver = 0.49.4
- pkgrel = 1
+ pkgrel = 2
url = http://www.inf.bme.hu/~pts
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 2193646652e..73608e888c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=sam2p
pkgver=0.49.4
-pkgrel=1
+pkgrel=2
pkgdesc="A bitmap-to-eps-or-pdf-converter that produces very small files"
arch=('i686' 'x86_64')
url="http://www.inf.bme.hu/~pts"
@@ -29,12 +29,13 @@ prepare() {
build() {
cd $pkgname-$pkgver
- CXX="g++ --std=c++98" ./configure --prefix="$pkgdir"/usr --enable-lzw --enable-gif
+ autoconf
+ CXX="g++ --std=c++98" PREFIX=/usr ./configure --prefix="$pkgdir"/usr --enable-lzw --enable-gif
PERL5LIB+=. make all
}
package() {
cd $pkgname-$pkgver
- make install
+ make DESTDIR=$pkgdir install
install -D -m644 README "$pkgdir"/usr/share/sam2p/docs/README
}