author | David Runge
<dvzrv@archlinux.org> 2018-09-03 18:15:51 UTC |
committer | David Runge
<dvzrv@archlinux.org> 2018-09-03 18:15:51 UTC |
parent | c2be7caaad7d8e73e232bf6eb7d9e0cabf3e0cde |
PKGBUILD | +17 | -12 |
diff --git a/PKGBUILD b/PKGBUILD index c5fd160..0ae79a2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ _name=Ardour pkgname=ardour pkgver=5.12 -pkgrel=6 +pkgrel=7 pkgdesc="Professional-grade digital audio workstation" arch=('x86_64') url="https://ardour.org/" @@ -22,29 +22,34 @@ sha512sums=('SKIP') build() { cd "${pkgname}-${pkgver}" python2 waf configure --prefix=/usr \ - --configdir=/etc \ - --with-backends="jack,alsa,dummy" \ - --libjack=weak \ - --optimize \ - --cxx11 \ - --freedesktop \ - --ptformat \ - --no-phone-home + --configdir=/etc \ + --with-backends="jack,alsa,dummy" \ + --libjack=weak \ + --nls \ + --optimize \ + --cxx11 \ + --freedesktop \ + --ptformat \ + --lxvst \ + --no-phone-home python2 waf build } package() { cd "${pkgname}-${pkgver}" + python2 waf i18n --destdir="${pkgdir}" python2 waf install --destdir="${pkgdir}" # xdg integration - install -vDm644 "build/gtk2_${pkgname}/${pkgname}.xml" \ + install -vDm 644 "build/gtk2_${pkgname}/${pkgname}.xml" \ "${pkgdir}/usr/share/mime/application/x-${pkgname}.xml" - install -vDm644 "build/gtk2_${pkgname}/${pkgname}${pkgver%%.*}.desktop" \ + install -vDm 644 "build/gtk2_${pkgname}/${pkgname}${pkgver%%.*}.desktop" \ "${pkgdir}/usr/share/applications/${pkgname}.desktop" for size in 16 22 32 48 256 512; do - install -vDm644 "gtk2_${pkgname}/resources/${_name}-icon_${size}px.png" \ + install -vDm 644 "gtk2_${pkgname}/resources/${_name}-icon_${size}px.png" \ "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/${pkgname}${pkgver%%.*}.png" done + # man pages + install -vDm 644 "${pkgname}.1"* -t "${pkgdir}/usr/share/man/man1/" } # vim:set ts=2 sw=2 et: