blob: 4c9eca07908a4dc589d6873856bafed8c61d4b7e (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Joost Bremmer <toost dot b at gmail dot com>
# Contributor: carstene1ns <url/mail: arch carsten-teibes de>
pkgname=trackma-git
pkgver=0.7.1.r0.g5e3c45c
pkgrel=1
pkgdesc="A lightweight and simple program for updating and using lists on several media tracking websites."
arch=('any')
url="http://z411.github.io/trackma/"
license=('GPL3')
depends=('python'
'python-pyinotify')
makedepends=('python'
'python-setuptools'
'desktop-file-utils'
'git'
)
optdepends=('python-gobject: GTK frontend'
'python-cairo: GTK frontend'
'python-pillow: thumbnail images for GUI frontends'
'python-pyqt5: Qt frontend'
'python-urwid: ncurses frontend'
'lsof: polling tracker/pyinotify alternative')
source=(${pkgname}::"git+https://github.com/z411/${pkgname%-git}.git"
"${pkgname%-git}-curses.desktop"
"${pkgname%-git}-gtk.desktop"
"${pkgname%-git}-qt.desktop")
sha256sums=('SKIP'
'dfa7486230a44625406309437741cf31ab386fbb0d94907ed15aaa0b942e248a'
'87fdf7251a244fd8a482f46e5b2dfd5fd1460d1fb38b47fff95478fe688cbdbd'
'54281a11092b1d2737b6bca21c692ea9a63d7a2b85969124fd25e88170866799')
#old package name.
conflicts=('wmal-git')
replaces=('wmal-git')
pkgver() {
cd ${pkgname}
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//g'
}
package() {
cd ${pkgname}
python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1
install -Dvm644 "${pkgname%-git}/data/icon.png" \
"${pkgdir}/usr/share/pixmaps/${pkgname%-git}.png"
install -Dvm644 "${srcdir}/trackma-curses.desktop" \
"${pkgdir}/usr/share/applications/${pkgname%-git}-curses.desktop"
install -vm644 "${srcdir}/trackma-gtk.desktop" \
"${pkgdir}/usr/share/applications/${pkgname%-git}-gtk.desktop"
install -vm644 "${srcdir}/trackma-qt.desktop" \
"${pkgdir}/usr/share/applications/${pkgname%-git}-qt.desktop"
}
# vim: sw=2 ts=2 tw=80 et:
|