diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 9 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = pamixer-git pkgdesc = Pulseaudio command-line mixer like amixer - pkgver = 20191030 + pkgver = 20211011 pkgrel = 1 url = https://github.com/cdemoulins/pamixer arch = i686 @@ -8,10 +8,11 @@ pkgbase = pamixer-git license = GPL3 makedepends = git makedepends = boost + makedepends = meson depends = libpulse depends = boost-libs + conflicts = pamixer source = git+https://github.com/cdemoulins/pamixer.git md5sums = SKIP pkgname = pamixer-git - @@ -2,31 +2,26 @@ pkgname=pamixer-git _realname=pamixer -pkgver=20191030 +pkgver=20211011 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') +makedepends=('git' 'boost' 'meson') +conflicts=('pamixer') 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 + arch-meson ${_realname} build + meson compile -C build } package() { - cd "$srcdir/${_realname}" - install -D -m755 pamixer $pkgdir/usr/bin/pamixer + meson install -C build --destdir "$pkgdir" } # vim:set ts=2 sw=2 et: |