summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnathan Jenkins2016-09-22 14:03:23 -0700
committerJohnathan Jenkins2016-09-22 14:03:23 -0700
commitee30ff859e099ae48ceaf804a0d3e9bc98747c53 (patch)
tree1084312a63a0104e7b520e52c578e5684b372e83
parente8c2dd0b7be918142a56ba9ecd2982c752db2cae (diff)
downloadaur-ee30ff859e099ae48ceaf804a0d3e9bc98747c53.tar.gz
fixes for 0.2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD21
2 files changed, 14 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5edbdc02e93..f924d371bab 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Sep 22 20:59:35 UTC 2016
+# Thu Sep 22 21:03:14 UTC 2016
pkgbase = flif
pkgdesc = Free Lossless Image Format
pkgver = 0.2
- pkgrel = 0
+ pkgrel = 1
url = https://github.com/FLIF-hub/FLIF
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index f8bb4637852..c1df306c129 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=flif
_pkgname=FLIF
pkgver=0.2
-pkgrel=0
+pkgrel=1
pkgdesc="Free Lossless Image Format"
arch=("i686" "x86_64")
url="https://github.com/FLIF-hub/FLIF"
@@ -15,21 +15,24 @@ source=("https://github.com/FLIF-hub/FLIF/archive/v${pkgver//_/-}.tar.gz")
md5sums=('7ab5825cf9051690ed88e274a6c5ec6b')
build() {
- cd "$srcdir/${_pkgname}-${pkgver//_/-}"
+ cd "$srcdir/${_pkgname}-${pkgver//_/-}/src"
make all
+ make decoder
}
package() {
- cd "$srcdir/${_pkgname}-${pkgver//_/-}"
+ cd "$srcdir/${_pkgname}-${pkgver//_/-}/src"
install -dm755 "${pkgdir}/usr/bin"
install -dm755 "${pkgdir}/usr/lib/"
install -dm755 "${pkgdir}/usr/share/man/man1/"
install -dm755 "${pkgdir}/usr/include/${_pkgname}"
- install -m755 src/flif src/viewflif "${pkgdir}/usr/bin"
- install -m755 src/libflif.so "${pkgdir}/usr/lib/"
- install -m 644 src/library/*.h "${pkgdir}/usr/include/${_pkgname}"
- install -m 644 doc/flif.1 "${pkgdir}/usr/share/man/man1"
- install -m 755 tools/gif2flif "${pkgdir}/usr/bin"
- install -m 755 tools/apng2flif "${pkgdir}/usr/bin"
+ install -m755 flif viewflif dflif "${pkgdir}/usr/bin"
+ install -m755 libflif_dec.so "${pkgdir}/usr/lib/"
+ install -m755 libflif.so "${pkgdir}/usr/lib/"
+ install -m 644 library/*.h "${pkgdir}/usr/include/${_pkgname}"
+ install -m 644 ../doc/flif.1 "${pkgdir}/usr/share/man/man1"
+ install -m 755 ../tools/gif2flif "${pkgdir}/usr/bin"
+ install -m 755 ../tools/apng2flif "${pkgdir}/usr/bin"
+ cd "$srcdir/${_pkgname}-${pkgver//_/-}"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}