[arch-commits] Commit in aeolus/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Oct 18 22:16:42 UTC 2018
Date: Thursday, October 18, 2018 @ 22:16:41
Author: dvzrv
Revision: 396166
upgpkg: aeolus 0.9.7-1
Upgrading to 0.9.7. Adding fixes for updated Makefile. Adding docs. Minor fixes.
Modified:
aeolus/trunk/PKGBUILD
----------+
PKGBUILD | 33 ++++++++++++++++++++-------------
1 file changed, 20 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-18 22:11:04 UTC (rev 396165)
+++ PKGBUILD 2018-10-18 22:16:41 UTC (rev 396166)
@@ -7,8 +7,8 @@
_stopver=0.3.0
pkgname=aeolus
-pkgver=0.9.5
-pkgrel=4
+pkgver=0.9.7
+pkgrel=1
pkgdesc="Synthesised pipe organ emulator"
arch=('x86_64')
url="https://kokkinizita.linuxaudio.org/linuxaudio/aeolus/"
@@ -18,31 +18,38 @@
source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$pkgname-$pkgver.tar.bz2"
"https://kokkinizita.linuxaudio.org/linuxaudio/downloads/stops-$_stopver.tar.bz2"
"$pkgname.conf")
-sha512sums=('e80e7a861934b287afefe0186bd78c2d51662c29d3b7292469244c52b4949698c512dff72bebe1f76cf98e17e3f9183d3ce7a7da4856bf936dab091d3b9f4b0b'
+sha512sums=('ea81b784a26441e93535c9e3cd7b8c9c6b4f9946bd8aac0b84adc89e986986fd7f45b9b45d70f211323a4c616de8b8d8d16508e9553c694a4a6a74aeaf833ec2'
'a6572a42c6796aa08b9085bfc4cb9e252091310224a0b8867eaf5d41f399b2649744c357506ae5fb64a82018f0da702bacbdc7e96965a1116f08d0a248d28ad3'
'b04689673aec928e2594a86b595a6f6d5d70408467c99379f6282f98dd9fbc1cab42b196927193a708e26229e665a121a22edf42e8ab49bb24d68d45bde3181c')
prepare() {
cd "${pkgname}-${pkgver}/source"
- # strip ldconfig and -march=native
- sed -i '/ldconfig\|-march=native/d' Makefile
+ # strip -march=native
+ # call ldconfig in local context
+ sed -e '/native/d' \
+ -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
+ -i Makefile
}
build() {
cd "${pkgname}-${pkgver}/source"
- make PREFIX=/usr LIBDIR=lib
+ make PREFIX=/usr SUFFIX=''
}
package(){
cd "${pkgname}-${pkgver}/source"
- make DESTDIR="${pkgdir}/" PREFIX=/usr LIBDIR=lib install
-
+ make DESTDIR="${pkgdir}/" PREFIX=/usr SUFFIX='' install
+ # docs
+ install -vDm 644 ../{AUTHORS,README} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
# system config file
- install -Dm644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/${pkgname}.conf"
-
+ install -vDm 644 "${srcdir}/${pkgname}.conf" "${pkgdir}/etc/${pkgname}.conf"
# stops
cd "${srcdir}/stops-${_stopver}"
- find . -name definition -exec install -Dm644 {} "${pkgdir}/usr/share/${pkgname}/stops/"{} \;
- find . -name presets -exec install -Dm644 {} "${pkgdir}/usr/share/${pkgname}/stops/"{} \;
- find . -name '*.ae0' -exec install -Dm644 {} "${pkgdir}/usr/share/${pkgname}/stops" \;
+ find . -name definition -exec install -vDm 644 {} \
+ "${pkgdir}/usr/share/${pkgname}/stops/"{} \;
+ find . -name presets -exec install -vDm 644 {} \
+ "${pkgdir}/usr/share/${pkgname}/stops/"{} \;
+ find . -name '*.ae0' -exec install -vDm 644 {} \
+ "${pkgdir}/usr/share/${pkgname}/stops" \;
}
More information about the arch-commits
mailing list