diff options
| author | kj-sh604 | 2024-09-21 04:32:14 -0400 |
|---|---|---|
| committer | kj-sh604 | 2024-09-21 04:32:14 -0400 |
| commit | ad8a2180b49fc7b0f8fa080b8bbec091d00b6289 (patch) | |
| tree | 2d7375fceddcbf10be610b10af809c5a7c9d35fe | |
| parent | 34ee15841f88eeb8639d4602678fa2f6844968d5 (diff) | |
refactor: update based on `[extra]`
| -rw-r--r-- | xfce4-volumed-pulse/.SRCINFO | 11 | ||||
| -rw-r--r-- | xfce4-volumed-pulse/PKGBUILD | 38 |
2 files changed, 25 insertions, 24 deletions
diff --git a/xfce4-volumed-pulse/.SRCINFO b/xfce4-volumed-pulse/.SRCINFO index 0762b73..2b99a91 100644 --- a/xfce4-volumed-pulse/.SRCINFO +++ b/xfce4-volumed-pulse/.SRCINFO @@ -1,11 +1,10 @@ pkgbase = xfce4-volumed-pulse pkgdesc = A volume keys control daemon for Xfce using pulseaudio pkgver = 0.2.4 - pkgrel = 3 + pkgrel = 4 url = https://gitlab.xfce.org/apps/xfce4-volumed-pulse - arch = i686 arch = x86_64 - license = GPL3 + license = GPL-3.0-only makedepends = git makedepends = xfce4-dev-tools depends = libnotify @@ -13,9 +12,7 @@ pkgbase = xfce4-volumed-pulse depends = libkeybinder3 depends = xfconf optdepends = xfce4-notifyd: for OSD notifications - conflicts = xfce4-volumed - replaces = xfce4-volumed - source = https://archive.xfce.org/src/apps/xfce4-volumed-pulse/0.2/xfce4-volumed-pulse-0.2.4.tar.bz2 - sha256sums = a019e3f626b31c0aaa0b807962606645cc0caf7930882b034a5a3a1719858362 + source = git+https://gitlab.xfce.org/apps/xfce4-volumed-pulse.git#tag=xfce4-volumed-pulse-0.2.4 + sha256sums = 73d38fcf931c850101f0a772889c196c142a77b10e9647b46ebded70d89fac7e pkgname = xfce4-volumed-pulse diff --git a/xfce4-volumed-pulse/PKGBUILD b/xfce4-volumed-pulse/PKGBUILD index 66e5943..588000d 100644 --- a/xfce4-volumed-pulse/PKGBUILD +++ b/xfce4-volumed-pulse/PKGBUILD @@ -2,31 +2,35 @@ # Contributor: Bernhard Landauer <oberon@manjaro.org> pkgname=xfce4-volumed-pulse -_vmaj=0.2 -_vmin=4 -pkgver=$_vmaj.$_vmin -pkgrel=3 -pkgdesc='A volume keys control daemon for Xfce using pulseaudio' -arch=('i686' 'x86_64') -license=('GPL3') -conflicts=('xfce4-volumed') -replaces=('xfce4-volumed') -url="https://gitlab.xfce.org/apps/$pkgname" +pkgver=0.2.4 +pkgrel=4 +pkgdesc="A volume keys control daemon for Xfce using pulseaudio" +arch=('x86_64') +url="https://gitlab.xfce.org/apps/xfce4-volumed-pulse" +license=('GPL-3.0-only') depends=('libnotify' 'pulse-native-provider' 'libkeybinder3' 'xfconf') makedepends=('git' 'xfce4-dev-tools') optdepends=('xfce4-notifyd: for OSD notifications') -sha256sums=('a019e3f626b31c0aaa0b807962606645cc0caf7930882b034a5a3a1719858362') -source=("https://archive.xfce.org/src/apps/$pkgname/$_vmaj/$pkgname-$pkgver.tar.bz2") +source=("git+https://gitlab.xfce.org/apps/xfce4-volumed-pulse.git#tag=$pkgname-$pkgver") +sha256sums=('73d38fcf931c850101f0a772889c196c142a77b10e9647b46ebded70d89fac7e') + +prepare() { + cd $pkgname + ./autogen.sh \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var +} build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --sysconfdir=/etc \ - --libexecdir=/usr/lib \ - --localstatedir=/var + cd $pkgname make } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install } + +# vim:set ts=2 sw=2 et: |
