summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorwillemw122019-07-18 18:59:25 +0200
committerwillemw122019-07-18 18:59:25 +0200
commit91bff3afb2a5c067ba8abbe2c227925ab10df824 (patch)
tree64f492c92198cf51b72543b7afc3e56813f89be0 /PKGBUILD
downloadaur-91bff3afb2a5c067ba8abbe2c227925ab10df824.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..58c62a7b1de
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: willemw <willemw12@gmail.com>
+
+_pkgname=usbaudio
+pkgname=$_pkgname-git
+pkgver=r2.acb9ac8
+pkgrel=1
+pkgdesc="Forward audio from Android devices"
+arch=('x86_64')
+url="https://github.com/rom1v/usbaudio"
+license=('MIT')
+depends=('vlc')
+makedepends=('git' 'libpulse' 'meson')
+provides=($_pkgname)
+conflicts=($_pkgname)
+source=($pkgname::git+https://github.com/rom1v/usbaudio.git)
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ meson --prefix=/usr --buildtype=release $pkgname $pkgname/build
+ ninja -C $pkgname/build
+}
+
+#check() {
+# ninja -C $pkgname/build check
+#}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C $pkgname/build install
+}
+