summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Démoulins2015-07-02 11:25:25 +0200
committerClément Démoulins2015-07-02 11:29:56 +0200
commita3a774e20f3940f85b8c26e5125eb9582e537c51 (patch)
tree458eef0e3ae96c88d57dc12ab783d8e951312822
downloadaur-a3a774e20f3940f85b8c26e5125eb9582e537c51.tar.gz
pamixer-git migrate to aur4
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD32
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8000877ceff
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = pamixer-git
+ pkgdesc = Pulseaudio command-line mixer like amixer
+ pkgver = 20150209
+ pkgrel = 1
+ url = https://github.com/cdemoulins/pamixer
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = boost
+ depends = libpulse
+ depends = boost-libs
+ source = git+https://github.com/cdemoulins/pamixer.git
+ md5sums = SKIP
+
+pkgname = pamixer-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..49fa024aaf0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Clément Démoulins <clement@archivel.fr>
+
+pkgname=pamixer-git
+_realname=pamixer
+pkgver=20150209
+pkgrel=1
+pkgdesc="Pulseaudio command-line mixer like amixer"
+arch=('i686' 'x86_64')
+url="https://github.com/cdemoulins/pamixer"
+license=('GPL3')
+depends=('libpulse' 'boost-libs')
+makedepends=('git' 'boost')
+
+source=(git+https://github.com/cdemoulins/pamixer.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${_realname}"
+ git log -1 --format="%cd" --date=short | tr -d '-'
+}
+
+build() {
+ cd "$srcdir/${_realname}"
+ make
+}
+
+package() {
+ cd "$srcdir/${_realname}"
+ install -D -m755 pamixer $pkgdir/usr/bin/pamixer
+}
+
+# vim:set ts=2 sw=2 et: