blob: 5f7acab00fd18ab7c67b304439b34a75dc5d0e2d (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Daniel T. Borelli < danieltborelli@gmail.com >
pkgbase=moc_notify-git
pkgname=$pkgbase
pkgver=2.2
pkgrel=2
_gitname=moc_notify
_gittag="v.${pkgver}"
pkgdesc="Notifier for 'Music On Console' using libnotify."
arch=('i686' 'x86_64')
url='https://github.com/daltomi/moc_notify'
license=('GPL3')
depends=('libnotify')
optdepends=('moc: Music on Console')
makedepends=('git' 'gcc' 'make' 'pkg-config')
install=moc_notify-git.install
source=("moc_notify-git.install" "git+${url}.git?signed#tag=${_gittag}")
sha1sums=('ae6f9be60997863f215d13c0cb0bb8da9bbdd5eb' 'SKIP')
validpgpkeys=('51479755D90A2AACFA90A6551DD242462908D08B')
build() {
cd $_gitname && make
}
package() {
install -Dm755 "$_gitname/moc_notify" "$pkgdir/usr/bin/moc_notify"
install -m755 -d "$pkgdir/usr/share/moc_notify"
install -Dm755 "$_gitname/scripts/onsongchange.sh" "$pkgdir/usr/share/moc_notify/"
}
|