blob: 5c2f9ae0103e959d49817a954458ba7922321e7c (
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
|
# Maintainer: trizen
pkgname=oblogout-py3-git
_pkgname="oblogout-py3"
pkgver=0.03.r7.gff2b059
pkgrel=1
pkgdesc="Openbox Logout Menu, ported to Python 3."
arch=('any')
url="https://github.com/trizen/${_pkgname}"
depends=('python-pillow' 'python-cairo' 'python-gobject')
makedepends=('git' 'python-distutils-extra')
license=('GPL2')
backup=("etc/oblogout.conf")
provides=('oblogout')
conflicts=('oblogout' 'oblogout-fork-git')
install="oblogout.install"
source=("git+https://github.com/trizen/${_pkgname}.git")
sha512sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir/"
install -m644 "data/oblogout.conf" "$pkgdir/etc/"
}
|