diff options
author | Florian Bruhin | 2016-08-25 13:15:04 +0200 |
---|---|---|
committer | Florian Bruhin | 2016-08-25 13:15:10 +0200 |
commit | 1593866e93dbb25e7583c4bcb3192cf261413df7 (patch) | |
tree | 2eb7b11f735a85775d441b695ca9a18a90e8b8f2 | |
parent | fc4767d6dd8a66ff3a4311781daf0fe188f5fe28 (diff) | |
download | aur-1593866e93dbb25e7583c4bcb3192cf261413df7.tar.gz |
Add patch for unmerged PR
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 14 insertions, 5 deletions
@@ -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 @@ -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" |