-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPKGBUILD
33 lines (31 loc) · 1005 Bytes
/
PKGBUILD
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
29
30
31
32
# Maintainer: Julian Wolff <wolff at julianwolff dot de>
pkgname=jackman
pkgver=0.1
pkgrel=1
pkgdesc='Collection of scripts that help managing multiple audio interfaces with Jack'
arch=('any')
url=''
license=('GPL')
#conflicts=()
#provides=()
depends=('jackdbus' 'python2-dbus' 'alsa-utils' 'systemd' 'coreutils')
makedepends=()
optdepends=('zenity: system notifications'
'kdebase-kdialog: system notifications')
source=()
md5sums=()
install=.install
package() {
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/etc/udev/rules.d"
mkdir -p "$pkgdir/usr/lib/systemd/system/"
mkdir -p "$pkgdir/etc/xdg/autostart/"
cp ../50-jackman.rules "$pkgdir/etc/udev/rules.d/"
cp ../jackman "$pkgdir/usr/bin/"
cp ../jackman_udev* "$pkgdir/usr/bin/"
cp ../*.service "$pkgdir/usr/lib/systemd/system/"
for d in `cd ../po; ls -1 *.po 2>/dev/null`; do
mkdir -p "$pkgdir/usr/share/locale/${d%.po}/LC_MESSAGES"
msgfmt -o "$pkgdir/usr/share/locale/${d%.po}/LC_MESSAGES/jackman.mo" ../po/${d}
done
}