aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pnmixer/APKBUILD
blob: e7bdd24085012fec26bd5f8e7ba6b0a2633a8c7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=pnmixer
pkgver=0.7.1_rc3
pkgrel=0
pkgdesc="PNMixer is a simple mixer application designed to run in system tray."
url="https://github.com/nicklan/pnmixer"
arch="all"
license="GPL"
makedepends="cmake gettext gtk+2.0-dev alsa-lib-dev libnotify-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/nicklan/pnmixer/archive/v${pkgver/_/-}.tar.gz"
options="!check"
builddir="${srcdir}/${pkgname}-${pkgver/_/-}"
build() {
	cd "$builddir"
	cmake . \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DWITH_GTK3=OFF
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="1c8317c2496bf5651511b2bee681369ab9ff268b7a9105ff82db253b783ef95de18e68faef12561b1542c9457b05dd243b6b7d8d16388f923e64f88dca536a62  pnmixer-0.7.1_rc3.tar.gz"