archlinux-pkgbuilds/cpp-alsa-volume/PKGBUILD

29 lines
838 B
Text
Raw Normal View History

2015-03-16 16:06:38 +01:00
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=cpp-alsa-volume
_upstreamname=cppAlsaVolume
2019-02-14 14:25:37 +01:00
pkgver=0.3.3
2015-03-16 16:06:38 +01:00
pkgrel=1
pkgdesc="Tray Alsa Volume Changer written using gtkmm"
arch=('x86_64' 'i686')
url="https://github.com/Vitozz/cppAlsaVolume"
license=('GPL2')
2018-02-05 12:02:15 +01:00
makedepends=('gtkmm3' 'glibmm' 'alsa-lib' 'libpulse' 'libappindicator-gtk3' 'cmake')
depends=('gtkmm' 'glibmm' 'alsa-lib' 'libpulse' 'libappindicator-gtk3')
2015-08-07 18:09:30 +02:00
source=("https://github.com/Vitozz/cppAlsaVolume/archive/v${pkgver}.tar.gz")
2015-03-16 16:06:38 +01:00
prepare() {
cd "$_upstreamname-$pkgver"
}
build() {
cd "$_upstreamname-$pkgver"
2019-02-14 14:25:37 +01:00
cmake -DUSE_PULSE=ON -DUSE_APPINDICATOR=ON -DUSE_SNI=OFF -DCMAKE_INSTALL_PREFIX=/usr
2015-03-16 16:06:38 +01:00
make
}
package() {
cd "$_upstreamname-$pkgver"
make DESTDIR="$pkgdir/" install
}
2019-02-14 14:25:37 +01:00
sha256sums=('a6a057a49c38348c0e91104e093091a3d535308cf33fac88fd6c80eed895e10b')