summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Weiss2017-06-14 05:06:37 -0700
committerMaximilian Weiss2017-06-14 05:06:37 -0700
commitca0d4e373706d6e3096366084c2d17eeb4bf482a (patch)
treebb5ef0f1309cede575f7954bddab42a9dcf18730
downloadaur-ca0d4e373706d6e3096366084c2d17eeb4bf482a.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD32
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a94ebee32f0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = s2png-git
+ pkgdesc = stuff to PNG
+ pkgver = v0.7.0.13.g1b39277
+ pkgrel = 1
+ url = https://github.com/dbohdan/s2png
+ arch = i686
+ arch = x86_64
+ license = GPLv2
+ depends = gd
+ provides = s2png
+ provides = s2png-git
+ conflicts = s2png
+ conflicts = s2png-git
+ source = git://github.com/dbohdan/s2png
+ sha256sums = SKIP
+
+pkgname = s2png-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9a343086b59
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Maximilian Weiss <$(echo "bWF4QG1heHdlaXNzLmlv" | base64 -d)>
+# Contributor: D. Bohdan <http://dbohdan.com/contact/>
+
+pkgname=s2png-git
+pkgver=v0.7.0.13.g1b39277
+pkgrel=1
+
+pkgdesc='stuff to PNG'
+arch=('i686' 'x86_64')
+url='https://github.com/dbohdan/s2png'
+license=('GPLv2')
+depends=('gd')
+provides=('s2png' 's2png-git')
+conflicts=('s2png' 's2png-git')
+source=('git://github.com/dbohdan/s2png')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/s2png/"
+ git reset --hard HEAD > /dev/null 2>&1
+ git describe --tags | sed 's/-/./g'
+}
+
+build() {
+ cd "$srcdir/s2png/"
+ git reset --hard HEAD > /dev/null 2>&1
+ make
+}
+
+package() {
+ install -Dm755 "$srcdir/s2png/s2png" "$pkgdir/usr/bin/s2png"
+}