summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin2016-08-25 13:15:04 +0200
committerFlorian Bruhin2016-08-25 13:15:10 +0200
commit1593866e93dbb25e7583c4bcb3192cf261413df7 (patch)
tree2eb7b11f735a85775d441b695ca9a18a90e8b8f2
parentfc4767d6dd8a66ff3a4311781daf0fe188f5fe28 (diff)
downloadaur-1593866e93dbb25e7583c4bcb3192cf261413df7.tar.gz
Add patch for unmerged PR
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 14 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1d32f2922606..81e0ba7494e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Jul 27 09:27:17 UTC 2016
+# Thu Aug 25 11:15:08 UTC 2016
pkgbase = stikked-git
pkgdesc = An advanced and beautiful pastebin written in PHP
pkgver = 0.10.0.r34.ge068019
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/claudehohl/Stikked
install = stikked-git.install
arch = any
@@ -14,7 +14,9 @@ pkgbase = stikked-git
conflicts = stikked
backup = etc/webapps/stikked/stikked.php
source = git+https://github.com/claudehohl/Stikked.git
+ source = https://patch-diff.githubusercontent.com/raw/claudehohl/Stikked/pull/370.patch
sha1sums = SKIP
+ sha1sums = 934fd0331238b9f2c3a008069faafd6628685822
pkgname = stikked-git
diff --git a/PKGBUILD b/PKGBUILD
index 071a5c697d4e..7d5c0e307b5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=stikked-git
_gitname='Stikked'
pkgver=0.10.0.r34.ge068019
-pkgrel=1
+pkgrel=2
pkgdesc="An advanced and beautiful pastebin written in PHP"
arch=('any')
url="https://github.com/claudehohl/Stikked"
@@ -14,14 +14,21 @@ provides=('stikked')
conflicts=('stikked')
backup=('etc/webapps/stikked/stikked.php')
install=$pkgname.install
-source=('git+https://github.com/claudehohl/Stikked.git')
-sha1sums=('SKIP')
+source=('git+https://github.com/claudehohl/Stikked.git'
+ 'https://patch-diff.githubusercontent.com/raw/claudehohl/Stikked/pull/370.patch')
+sha1sums=('SKIP'
+ '934fd0331238b9f2c3a008069faafd6628685822')
pkgver() {
cd "$srcdir/$_gitname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ cd "$srcdir/$_gitname"
+ patch -p1 -i "$srcdir/370.patch"
+}
+
package() {
cd "$srcdir/$_gitname/htdocs"