summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Allen2015-06-09 12:01:23 -0400
committerSteven Allen2015-06-09 12:01:23 -0400
commitab9773478912923dce706222e93ff3f58302f270 (patch)
tree55bf2cf0a5d4aed08a1dc214ce6db927eec9da47
downloadaur-imlib2-webp-git.tar.gz
Initial Commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD38
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..68c987ed101
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = imlib2-webp-git
+ pkgdesc = A WebP loader for Imlib2. Enables WebP support for every application that uses the imlib2 library.
+ pkgver = 20131017
+ pkgrel = 1
+ url = http://www.hauweele.net/~gawen/imlib2-webp.html
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ depends = imlib2
+ depends = libwebp
+ provides = imlib2-webp
+ conflicts = imlib2-webp
+ source = imlib2-webp::git+https://github.com/gawen947/imlib2-webp.git
+ md5sums = SKIP
+
+pkgname = imlib2-webp-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6e63f283e2e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Steven Allen <steven@stebalien.com>
+# COntributor: Ferk <ferkiwi at gmail.com>
+# Contributor: Shizeeque Unadequatov <shizeeque@gmail.com>
+
+pkgname=imlib2-webp-git
+_gitname=imlib2-webp
+pkgver=20131017
+pkgrel=1
+pkgdesc='A WebP loader for Imlib2. Enables WebP support for every application that uses the imlib2 library.'
+arch=('i686' 'x86_64')
+url='http://www.hauweele.net/~gawen/imlib2-webp.html'
+license=('BSD')
+depends=('imlib2' 'libwebp')
+makedepends=('git')
+provides=('imlib2-webp')
+conflicts=('imlib2-webp')
+
+source=('imlib2-webp::git+https://github.com/gawen947/imlib2-webp.git')
+
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${_gitname}"
+ echo $(git log -1 --date=short --format='%cd' | sed 's/-//g')
+}
+
+build() {
+ cd "${_gitname}"
+ make
+}
+
+package() {
+ cd "${_gitname}"
+
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+# vim: set ts=4 sw=4 et: