archrelease: copy trunk to community-any
[ArchLinux/community.git] / libfilteraudio / trunk / PKGBUILD
blob2610c2e790114f28f5690c11d28c70d202a7c9f5
1 # Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
2 # PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
3 # Contributor: Jiachen Yang <farseerfc@gmail.com>
4 # Contributor: HÃ¥vard Pettersson <mail@haavard.me>
5 # Contributor: Ivan Shapovalov <intelfx100 at gmail dot com>
7 _pkgname=filter_audio
8 pkgname=libfilteraudio
9 pkgver=0.0.1
10 pkgrel=5
11 pkgdesc="An easy to use audio filtering library made from webrtc code"
12 arch=('x86_64')
13 url="https://github.com/irungentoo/filter_audio"
14 license=('BSD')
15 depends=('glibc')
16 provides=("${_pkgname}")
17 conflicts=("${_pkgname}")
18 source=(
19     "$_pkgname-${pkgver}.tar.gz::https://github.com/irungentoo/${_pkgname}/archive/v${pkgver}.tar.gz"
20     "$_pkgname-${pkgver}.tar.gz.sig::https://github.com/irungentoo/${_pkgname}/releases/download/v${pkgver}/v${pkgver}.tar.gz.sig"
21     'LICENSE'
23 sha512sums=('9ae4d77ddc0c9f604642a6a968ead684affd9dc957ab4ddc3cf9974da028b9c402155322a63dbbcdb7dc8e3eec63c2fcef267862580229cfc01bc496f990ed58'
24             'SKIP'
25             'ab7ea75c03fab3dfc5d452f04a38b42783f646c2e0acaf8494628bfdf6f83e4b04d470e019385de3e89dd57eb8ef6d02daa6256d4ff311cc66f3999b694ef143')
26 validpgpkeys=('FC0BC251E0BA54852E532C5B10349DC9BED89E98') # irungentoo <irungentoo@gmail.com>
28 build() {
29     cd ${_pkgname}-${pkgver}
30     make
33 package() {
34     cd ${_pkgname}-${pkgver}
35     make DESTDIR="$pkgdir" PREFIX="/usr" install
36     install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"