summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Keen2015-06-13 00:24:03 -0400
committerKyle Keen2015-06-13 00:24:03 -0400
commit85db5aafb479abafc180da9b6837a457a7a78d28 (patch)
treeecf40aa98ea82347f24fc9af7d1e21ee52493c49
downloadaur-85db5aafb479abafc180da9b6837a457a7a78d28.tar.gz
Initial import
-rw-r--r--.AURINFO18
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD43
3 files changed, 80 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..ccdab45bb57
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,18 @@
+pkgbase = mozjpeg-git
+ pkgdesc = A fork of libjpeg-turbo with jpgcrush built in.
+ pkgver = 20131001
+ pkgrel = 1
+ url = https://github.com/mozilla/mozjpeg/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = nasm
+ provides = libjpeg=8.0.2
+ provides = turbojpeg
+ provides = libjpeg-turbo
+ conflicts = libjpeg-turbo
+ source = git+https://github.com/mozilla/mozjpeg.git
+
+pkgname = mozjpeg-git
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8d79d38e454
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = mozjpeg-git
+ pkgdesc = A fork of libjpeg-turbo with jpgcrush built in.
+ pkgver = 20131001
+ pkgrel = 1
+ url = https://github.com/mozilla/mozjpeg/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = nasm
+ provides = libjpeg=8.0.2
+ provides = turbojpeg
+ provides = libjpeg-turbo
+ conflicts = libjpeg-turbo
+ source = git+https://github.com/mozilla/mozjpeg.git
+ md5sums = SKIP
+
+pkgname = mozjpeg-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aade07e942d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+pkgname=mozjpeg-git
+pkgver=20131001
+pkgrel=1
+pkgdesc="A fork of libjpeg-turbo with jpgcrush built in."
+url="https://github.com/mozilla/mozjpeg/"
+license=("GPL")
+arch=('i686' 'x86_64')
+makedepends=('git' 'nasm')
+depends=()
+source=('git+https://github.com/mozilla/mozjpeg.git')
+md5sums=('SKIP')
+_gitname=mozjpeg
+
+provides=('libjpeg=8.0.2' 'turbojpeg' 'libjpeg-turbo')
+conflicts=('libjpeg-turbo')
+
+pkgver() {
+ cd "$_gitname"
+ git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//'
+}
+
+build()
+{
+ cd "$_gitname"
+ autoreconf -fiv
+ ./configure --prefix=/usr --mandir=/usr/share/man
+}
+
+# takes forever
+#check()
+#{
+# cd "$_gitname"
+# make test
+#}
+
+package() {
+ cd "$_gitname"
+ make DESTDIR="$pkgdir" docdir="/usr/share/doc/$pkgname" install
+ # license?
+ install -m644 jpegint.h "$pkgdir/usr/include"
+}
+