PKGBUILDs/extra/orc/PKGBUILD

38 lines
963 B
Bash
Raw Normal View History

2014-09-19 19:02:59 +00:00
# $Id$
2017-02-13 13:19:46 +00:00
# Maintainer: Jan de Groot <jgc@archlinux.org>
2016-08-31 15:16:18 +00:00
# Contributor: Ionut Biru <ibiru@archlinux.org>
2014-09-19 19:02:59 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - drop valgrind makedepend
pkgname=orc
2016-08-31 15:16:18 +00:00
pkgver=0.4.26
2017-02-13 13:19:46 +00:00
pkgrel=2
2016-08-31 15:16:18 +00:00
pkgdesc="Optimized Inner Loop Runtime Compiler"
arch=(i686 x86_64)
license=(custom)
url="https://cgit.freedesktop.org/gstreamer/orc/"
depends=(glibc)
2017-02-13 13:19:46 +00:00
source=(https://gstreamer.freedesktop.org/data/src/orc/orc-${pkgver}.tar.xz{,.asc})
validpgpkeys=('7F4BC7CC3CA06F97336BBFEB0668CC1486C2D7B5') #Sebastian Dröge
sha256sums=('7d52fa80ef84988359c3434e1eea302d077a08987abdde6905678ebcad4fa649'
'SKIP')
2014-09-19 19:02:59 +00:00
build () {
2016-06-18 17:53:53 +00:00
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
2014-09-19 19:02:59 +00:00
}
check() {
2016-06-18 17:53:53 +00:00
cd $pkgname-$pkgver
make check
2014-09-19 19:02:59 +00:00
}
package() {
2016-06-18 17:53:53 +00:00
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
2016-08-31 15:16:18 +00:00
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
2014-09-19 19:02:59 +00:00
}