summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b3b12604e5f9c44f7dd33f511447a4032c0240d1 (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: Muflone http://www.muflone.com/contacts/english/

pkgname=gwakeonlan-git
pkgver=0.7.0
pkgrel=1
pkgdesc="GTK+ utility to awake machines using the Wake on LAN."
url="https://www.muflone.com/gwakeonlan"
arch=('any')
license=('GPL3')
depends=('gtk3' 'python-xdg' 'python-gobject')
makedepends=('git')
provides=('gwakeonlan')
conflicts=('gwakeonlan')
source=("git+https://github.com/muflone/gwakeonlan.git")
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-*}"
  git describe --always | sed 's|-|.|g'
}

build() {
  cd "${pkgname%-*}"
  python setup.py build
}

package() {
  cd "${pkgname%-*}"
  python setup.py install --optimize=1 --root "${pkgdir}"
}