core/liblrdf/PKGBUILD

31 lines
851 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=liblrdf
2018-05-24 05:54:20 +08:00
pkgver=0.6.1
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
arch=('x86_64')
2012-08-29 15:31:09 +08:00
url="https://github.com/swh/LRDF"
2011-08-20 18:50:36 +08:00
depends=('raptor' 'ladspa')
2018-05-24 05:54:20 +08:00
license=('GPL2')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/swh/LRDF/archive/v${pkgver}.tar.gz")
sha512sums=('7732813eec704aef984d056de254e4fa049fdd0a7444b6a88f75f012afe9c587cbd1295f027c77361fa42bc097cdce9d9cabdba6b86e99a3c14805d84258df1c')
2018-05-24 05:54:20 +08:00
prepare() {
mv -v "LRDF-${pkgver}" "${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
2011-08-20 18:50:36 +08:00
autoreconf -vfi
2018-05-24 05:54:20 +08:00
sed -e 's,raptor.h,raptor2/raptor.h,' -i lrdf.h
}
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
2011-08-20 18:50:36 +08:00
make
}
2010-03-14 23:48:48 +08:00
2011-08-20 18:50:36 +08:00
package() {
2018-05-24 05:54:20 +08:00
cd "${pkgname}-${pkgver}"
2011-08-20 18:50:36 +08:00
make DESTDIR="${pkgdir}" install
2018-05-24 05:54:20 +08:00
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-vDm644 {AUTHORS,ChangeLog,NEWS,README}
2010-03-14 23:48:48 +08:00
}