summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommaso Sardelli2020-07-10 08:32:23 +0200
committerTommaso Sardelli2020-07-10 08:32:23 +0200
commit91ce2d3893e80395f510b9853a764830c464762e (patch)
treed238514aef4baa2e568b916a598b7410d2b3aa1a
parent250a76db4758f7a25a229eb9076bf949a831ddb6 (diff)
downloadaur-ympd-git.tar.gz
Add patch from PR 191 to fix compile issues
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 04c8c231265..a30200f5449 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Sat Feb 20 09:34:23 UTC 2016
pkgbase = ympd-git
pkgdesc = A standalone MPD Web GUI
- pkgver = 1.3.0.r0.gec008a4
+ pkgver = 1.3.0.r55.g612f8fc
pkgrel = 1
url = http://www.ympd.org
install = ympd.install
@@ -19,7 +17,9 @@ pkgbase = ympd-git
conflicts = ympd
backup = etc/default/ympd
source = git+https://github.com/notandy/ympd.git
- sha1sums = SKIP
+ source = https://github.com/notandy/ympd/pull/191.patch
+ sha256sums = SKIP
+ sha256sums = aa8fd50482d95840e4296533cf63529348f5794d596f7e12a1911322b05fdd88
pkgname = ympd-git
diff --git a/PKGBUILD b/PKGBUILD
index 47c97c056e8..264267783f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=ympd-git
_pkgname=ympd
-pkgver=1.3.0.r0.gec008a4
+pkgver=1.3.0.r55.g612f8fc
pkgrel=1
pkgdesc="A standalone MPD Web GUI"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
@@ -17,14 +17,20 @@ install="${_pkgname}.install"
backup=('etc/default/ympd')
source=(
"git+https://github.com/notandy/ympd.git"
+ "https://github.com/notandy/$_pkgname/pull/191.patch"
)
-sha1sums=('SKIP')
+sha256sums=('SKIP'
+ 'aa8fd50482d95840e4296533cf63529348f5794d596f7e12a1911322b05fdd88')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed -E 's/^v//; s/([^-]*-g)/r\1/; s/-/./g'
}
+prepare() {
+ patch -d "${_pkgname}" -Np1 -i "${srcdir}"/191.patch
+}
+
build() {
cd "${srcdir}/${_pkgname}"
mkdir -p build && cd build;