summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Beck2018-05-31 12:30:18 -0500
committerMax Beck2018-05-31 12:30:18 -0500
commitdb2b8129489d137c285507c28d68bfe2ec13ee3d (patch)
tree9080858d48ef76449d87d7eabd199ee6ede1762f
parent337c4cb72945039cb51aed8ce9958293f647bcbf (diff)
downloadaur-db2b8129489d137c285507c28d68bfe2ec13ee3d.tar.gz
move patching to prepare()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 25f3bbb209c..097a9390173 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mpd-sidplay
pkgdesc = Flexible, powerful, server-side application for playing music - built with sidplay support
pkgver = 0.20.20
- pkgrel = 1
+ pkgrel = 2
url = https://www.musicpd.org/
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 26aea296a48..79a4eddcfcf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=mpd-sidplay
_pkgname=mpd
pkgver=0.20.20
_majorver=0.20
-pkgrel=1
+pkgrel=2
pkgdesc="Flexible, powerful, server-side application for playing music - built with sidplay support"
url="https://www.musicpd.org/"
license=("GPL")
@@ -18,10 +18,13 @@ source=("https://www.musicpd.org/download/${_pkgname}/${_majorver}/${_pkgname}-$
sha256sums=("a9e458c6e07cdf62649de7722e1e5a7f13aa82eeb397bfbbebc07cf5cf273584" "SKIP" "e09e38ab5fd6e8b3b3e6e5a48d837c164ad37aec7e6762a78810c34fe9abf3a1" "2679014448e9352e20e85d8d76b021aeebe27bdf6100b24577afee2f37522a95" "a30c2c43824b540300cc83505c146989b415189bd90f191aebaed6f13556e6d2" "1ad209f027670ecaf5dd3a0c9daf9cf7758ab266090a1e4cf0caf226ee9b42ed")
backup=("etc/mpd.conf")
-build() {
+prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
-
patch < ../no_resid_builder.patch
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \