diff options
author | nate | 2019-05-17 22:17:48 -0500 |
---|---|---|
committer | nate | 2019-05-17 22:17:48 -0500 |
commit | 47700d0677535e449abde04f0e7dfc99ea3a3888 (patch) | |
tree | 11dfe1f0d6afc7699542d93e91543fe6cd64ff29 /PKGBUILD | |
parent | e1f38f65affaa73dae8523edb98c6152fc326dfe (diff) | |
download | aur-47700d0677535e449abde04f0e7dfc99ea3a3888.tar.gz |
Add patch for https://github.com/linuxmint/xplayer/issues/147
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -2,7 +2,7 @@ pkgname=xplayer-git _pkgbasename=xplayer -pkgver=2.0.0.r0.gf73aa65 +pkgver=2.0.2.r0.g49b054a pkgrel=1 pkgdesc="Simple media player. X-Apps Project (git version)." arch=('i686' 'x86_64' 'armv7h') @@ -18,14 +18,22 @@ provides=($pkgname $_pkgbasename) conflicts=(${_pkgbasename}) url='https://github.com/linuxmint/xplayer' -source=("${pkgname}::git+https://github.com/linuxmint/${_pkgbasename}.git") -md5sums=('SKIP') +source=("${pkgname}::git+https://github.com/linuxmint/${_pkgbasename}.git" + 'xplayer_issues_147.patch') +md5sums=('SKIP' + '533653d8352f0afcac5c4542f1bc0d84') pkgver() { cd ${srcdir}/${pkgname} git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd "${srcdir}/${pkgname}" + patch --strip=1 --input="${srcdir}/xplayer_issues_147.patch" +} + + build() { cd ${srcdir}/${pkgname} |