diff options
author | Tommaso Sardelli | 2020-07-10 08:32:23 +0200 |
---|---|---|
committer | Tommaso Sardelli | 2020-07-10 08:32:23 +0200 |
commit | 91ce2d3893e80395f510b9853a764830c464762e (patch) | |
tree | d238514aef4baa2e568b916a598b7410d2b3aa1a /PKGBUILD | |
parent | 250a76db4758f7a25a229eb9076bf949a831ddb6 (diff) | |
download | aur-ympd-git.tar.gz |
Add patch from PR 191 to fix compile issues
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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; |