blob: 0746ecf755974cbf0e980ff7f066e4901feab0f9 (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=xdg-traymenu
pkgver=0.01.41
pkgrel=1
pkgdesc="XDG compliant system tray and root menu generator"
arch=('any')
url="https://github.com/bbidulock/xdg-traymenu"
groups=('xde')
license=('GPL')
depends=('perl-xml-sax')
optdepends=('perl-gtk2-unique: for xdg-traymenu'
'xde-theme: style menus and wm detection'
'xdg-launch: startup notification for menu items')
makedepends=('git')
options=('!emptydirs')
source=("$pkgname::git+https://github.com/bbidulock/xdg-traymenu.git")
md5sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags|sed 's,[-_],.,g;s,\.g.*$,,'
}
build() {
cd $pkgname
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" INSTALLVENDORSCRIPT=/usr/bin install
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}
# vim:set ts=2 sw=2 et:
|