archlinux-pkgbuilds/PKGBUILD

29 lines
698 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
2015-08-07 18:09:30 +02:00
pkgver=0.2.8
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')
makedepends=('gtkmm' 'glibmm' 'alsa-lib' 'cmake')
depends=('gtkmm' 'glibmm' 'alsa-lib')
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"
cmake -DUSE_GTK3=OFF -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$_upstreamname-$pkgver"
make DESTDIR="$pkgdir/" install
}
2015-08-07 18:09:30 +02:00
md5sums=('9a8646e6aa2f9a0d469f41830ab0f3a6')