Skip to content
Snippets Groups Projects
Commit f4fa1e6b authored by David Runge's avatar David Runge :chipmunk:
Browse files

Rebuild to re-sign package.

Remove unnecessary quotes and curly braces.
Simplify make calls.
parent 820dc7c0
No related branches found
No related tags found
No related merge requests found
......@@ -3,36 +3,37 @@
_name=Xmonk
pkgname=xmonk.lv2
pkgver=0.4
pkgrel=1
pkgrel=2
pkgdesc="A LV2 toy"
arch=('x86_64')
arch=(x86_64)
url="https://github.com/brummer10/Xmonk.lv2"
license=('BSD')
groups=('lv2-plugins' 'pro-audio')
depends=('cairo' 'gcc-libs' 'glibc' 'libx11')
makedepends=('lv2')
checkdepends=('lv2lint' 'sord')
source=("$pkgname-$pkgver.tar.gz::https://github.com/brummer10/${pkgname}/releases/download/${pkgver}/${_name}_${pkgver}.tar.gz")
license=(BSD)
groups=(
lv2-plugins
pro-audio
)
depends=(
cairo
gcc-libs
glibc
libx11
)
makedepends=(lv2)
checkdepends=(lv2lint)
source=($url/releases/download/$pkgver/${_name}_$pkgver.tar.gz)
sha512sums=('c4dff2b0e5e8d3ac8b1daeec96f1a17466c99a542cc420aa2a0dee55dbd17b72dc7c8c37348b09cc9faf8a0ee67fa1fab566a0472a1960a46268618b06758f9e')
prepare() {
mv -v "${_name}_${pkgver}" "${pkgname}-${pkgver}"
}
b2sums=('c15d01dfa772d4a677cedeb5131486d86c05a82fff2453a2b9c24b59588ebf0022029ab171405770d64f1cb72fff9f32c26e5526e47bb2633ffe2e6f4092d36c')
build() {
cd "$pkgname-$pkgver"
make
make -C ${_name}_$pkgver
}
check() {
cd "$pkgname-$pkgver"
LV2_PATH="${PWD}/${_name}" lv2lint "https://github.com/brummer10/Xmonk.lv2" || echo "Known to fail: https://github.com/brummer10/Xmonk.lv2/issues/3"
sord_validate "${PWD}/${_name}/${_name}.lv2/"*.ttl || echo "Known to fail: https://github.com/brummer10/Xmonk.lv2/issues/3"
lv2lint -Mpack -I ${_name}_$pkgver/$_name/$_name.lv2 "https://github.com/brummer10/Xmonk.lv2"
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
make DESTDIR="$pkgdir/" install -C ${_name}_$pkgver
install -vDm 644 ${_name}_$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vDm 644 ${_name}_$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment