Created
February 3, 2013 03:18
-
-
Save Cilyan/4700421 to your computer and use it in GitHub Desktop.
Updated PKGBUILD for PNMixer with fix for automake-1.13 (also removed "|| return 1" as they are no longer needed, makepkg handles this alone)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Nick Lanham <[email protected]> | |
pkgname=pnmixer-git | |
pkgver=20130203 | |
pkgrel=1 | |
pkgdesc="PNMixer is a GTK volume mixer applet that runs in the system tray. \ | |
It is lightweight, works with both pulseaudio and alsa, supports mouse wheel \ | |
volume adjustment. | |
" | |
arch=('i686' 'x86_64') | |
license=('GPL') | |
url="https://github.com/nicklan/pnmixer" | |
groups=('pnmixer') | |
depends=('gtk2' 'alsa-lib') | |
makedepends=('git') | |
provides=('pnmixer') | |
conflicts=('pnmixer') | |
_gitroot="git://github.com/nicklan/pnmixer.git" | |
_gitname="pnmixer" | |
build() { | |
cd "${srcdir}/" | |
msg "Getting git sources" | |
if [ -d ${srcdir}/$_gitname ] ; then | |
cd $_gitname && git pull origin | |
msg "The local files are updated." | |
else | |
git clone ${_gitroot} | |
fi | |
msg "Git checkout finished" | |
msg "Building package" | |
cd ${srcdir}/${_gitname} | |
autoreconf -fi | |
./configure --prefix=/usr | |
make | |
make DESTDIR="$pkgdir" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment