archrelease: copy trunk to community-any
[ArchLinux/community.git] / blop / trunk / PKGBUILD
blobcfe20b2be6aa084da1565bb602061157d08511ff
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: speps <speps at aur dot archlinux dot org>
4 pkgname=blop
5 pkgver=0.2.8
6 pkgrel=5
7 pkgdesc="Bandlimited LADSPA Oscillator Plugins"
8 arch=(x86_64)
9 url="http://blop.sourceforge.net/"
10 license=(GPL)
11 depends=(glibc)
12 makedepends=(ladspa)
13 groups=(
14   ladspa-plugins
15   pro-audio
17 source=(
18   https://downloads.sourceforge.net/project/$pkgname/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz
19   $pkgname-0.2.8-full_relro.patch
21 sha512sums=('5a1bb2e4ba976dd87f8b34538b3a8d2ed21ba0b8818d4b0a713061aeeae7fd52377477314a758cc7082a932315be8ec99006dfc3f5c9712d8d566852adbf671f'
22             '3e55c4fdcd2ed320ce22f539a6913afd2656a956fa26b153c40511ed1b48b24d7a5815f07abfc824d1094c43e4d46ad4a24461390da267d8bab0512f8e320b29')
23 b2sums=('240d102b5ca7b554e96af8ec927dd88804d6cb4f6a7eb22b5edf4231793747963d80583f345179e9fb891b4160a0587f8fa78a638154d9663da237924f9dc4ea'
24         '10f77c883a7bc49fe90d2da8fdda7faaec7ce30ef18b4590098d7a9522b953f1ffb10ee7e3d1172dbb1d3885bcbaf4fd797792287b17f24ba9b3b65ac601ab7c')
26 prepare() {
27   # force LDFLAGS into all the libs to achieve full RELRO
28   patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-0.2.8-full_relro.patch
31 build() {
32   cd $pkgname-$pkgver
33   ./configure --prefix=/usr
34   make
37 package(){
38   make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
39   install -vDm 644 $pkgname-$pkgver/{AUTHORS,ChangeLog,NEWS,README,THANKS,TODO} -t "$pkgdir/usr/share/doc/$pkgname/"