summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2020-12-30 17:59:30 -0500
committerVincent Grande2020-12-30 17:59:30 -0500
commita6fb08ace6f453074041be541629e2442ed0ea22 (patch)
tree582d29e18198b140626cc371c8da000d2e47e037
downloadaur-a6fb08ace6f453074041be541629e2442ed0ea22.tar.gz
initial upload
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD48
2 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..05bb5c4f80f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = libtiff-minimal-git
+ pkgdesc = TIFF library and utilities
+ pkgver = 4.2.0.r7.gec8bdded
+ pkgrel = 1
+ url = https://libtiff.gitlab.io/libtiff/
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = git
+ makedepends = mesa
+ makedepends = wget
+ depends = glibc
+ depends = libjpeg
+ depends = xz
+ depends = zlib
+ optdepends = freeglut: for using tiffgt
+ optdepends = glu: glu support
+ optdepends = jbigkit: jbigkit support
+ provides = libtiff
+ conflicts = libtiff
+ options = staticlibs
+ source = git+https://gitlab.com/libtiff/libtiff.git
+ sha256sums = SKIP
+
+pkgname = libtiff-minimal-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5bb9b2ad410
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Vincent Grande <shoober420@gmail.com>
+# Contributor: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=libtiff-minimal-git
+pkgver=4.2.0.r7.gec8bdded
+pkgrel=1
+pkgdesc="TIFF library and utilities"
+arch=('i686' 'x86_64')
+url="https://libtiff.gitlab.io/libtiff/"
+license=('custom')
+depends=('glibc' 'libjpeg' 'xz' 'zlib')
+makedepends=('git' 'mesa' 'wget')
+optdepends=('freeglut: for using tiffgt'
+ 'glu: glu support'
+ 'jbigkit: jbigkit support')
+provides=('libtiff')
+conflicts=('libtiff')
+options=('staticlibs')
+source=("git+https://gitlab.com/libtiff/libtiff.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "libtiff"
+
+ git describe --long --tags | sed 's/^Release-v//;s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "libtiff"
+
+ ./autogen.sh
+ ./configure --prefix="/usr"
+ make
+}
+
+#check() {
+# cd "libtiff"
+
+# make check
+#}
+
+package() {
+ cd "libtiff"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "COPYRIGHT" -t "$pkgdir/usr/share/licenses/libtiff"
+}