summaryrefslogtreecommitdiff
path: root/pcr/libfilteraudio-git/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-19 16:59:58 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-03-19 16:59:58 -0500
commit26e71f0bec9cdeaf7492c3b3463d75b0fe3058c2 (patch)
tree9632782170cf8e36f859ba5b912aa62ea039f820 /pcr/libfilteraudio-git/PKGBUILD
parentdce2f336214fa204d7712905cd59557f94599ecb (diff)
downloadabslibre-26e71f0bec9cdeaf7492c3b3463d75b0fe3058c2.tar.gz
abslibre-26e71f0bec9cdeaf7492c3b3463d75b0fe3058c2.tar.bz2
abslibre-26e71f0bec9cdeaf7492c3b3463d75b0fe3058c2.zip
Re-adding libfilteraudio-git: It is a utox-git dependency
Diffstat (limited to 'pcr/libfilteraudio-git/PKGBUILD')
-rw-r--r--pcr/libfilteraudio-git/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/libfilteraudio-git/PKGBUILD b/pcr/libfilteraudio-git/PKGBUILD
new file mode 100644
index 000000000..b2b821fb7
--- /dev/null
+++ b/pcr/libfilteraudio-git/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer (Arch): HÃ¥vard Pettersson <mail@haavard.me>
+# Contributor (Arch): Ivan Shapovalov <intelfx100 at gmail dot com>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+_pkgname=libfilteraudio
+pkgname=libfilteraudio-git
+pkgver=r92.612c5a1
+pkgrel=1
+pkgdesc="An easy to use audio filtering library made from webrtc code"
+arch=('i686' 'x86_64' 'armv7h')
+url="https://github.com/irungentoo/filter_audio"
+license=('BSD3')
+makedepends=('git')
+depends=('glibc')
+provides=("${_pkgname}" 'filter_audio')
+conflicts=("${_pkgname}" 'filter_audio')
+source=(
+ "${_pkgname}::git+https://github.com/irungentoo/libfilteraudio.git"
+ 'LICENSE'
+)
+sha512sums=('SKIP'
+ 'ab7ea75c03fab3dfc5d452f04a38b42783f646c2e0acaf8494628bfdf6f83e4b04d470e019385de3e89dd57eb8ef6d02daa6256d4ff311cc66f3999b694ef143')
+
+pkgver() {
+ cd ${_pkgname}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd ${_pkgname}
+ make
+}
+
+package() {
+ cd ${_pkgname}
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
+ install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}