summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e5027d09338f1d00d56b917e997ef64438735626 (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.8.5
pkgrel=1
pkgdesc="GTK+ utility to awake machines using the Wake on LAN."
url="http://www.muflone.com/gwakeonlan/"
arch=('any')
license=('GPL3')
makedepends=('git' 'python-setuptools' 'gettext')
depends=('gtk3' 'python-xdg' 'python-gobject')
provides=('gwakeonlan')
conflicts=('gwakeonlan')
source=("git+https://github.com/muflone/gwakeonlan.git")
sha256sums=('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}"
}