summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach2016-10-04 13:26:08 -0600
committerZach2016-10-04 13:26:08 -0600
commitdd866c92138ebf9fe011608ae987444bbfa434f5 (patch)
tree445819a22f39dc98461cf4f8398c4277583679cc
downloadaur-dd866c92138ebf9fe011608ae987444bbfa434f5.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD26
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ba85cd113f6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Tue Oct 4 19:25:54 UTC 2016
+pkgbase = imgp-git
+ pkgdesc = Resize or rotate JPEG and PNG images.
+ pkgver = 117.8412063
+ pkgrel = 1
+ url = https://github.com/jarun/imgp
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = python3
+ depends = python-pillow
+ provides = imgp
+ conflicts = imgp
+ source = imgp::git+https://github.com/jarun/imgp.git
+ sha256sums = SKIP
+
+pkgname = imgp-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..019dd4ffced
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: zach <zach {at} zach-adams {dot} com>
+
+pkgname=imgp-git
+_pkgname=imgp
+_pkgauthor=jarun
+pkgver=117.8412063
+pkgrel=1
+pkgdesc="Resize or rotate JPEG and PNG images."
+arch=('any')
+url="https://github.com/${_pkgauthor}/${_pkgname}"
+license=('GPL3')
+depends=('python3' 'python-pillow')
+makedepends=('git')
+source=(${_pkgname}::"git+https://github.com/${_pkgauthor}/${_pkgname}.git")
+sha256sums=('SKIP')
+conflicts=('imgp')
+provides=('imgp')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+package() {
+ make -C "${srcdir}/${_pkgname}" DESTDIR="${pkgdir}" PREFIX="/usr" install
+}