diff options
author | NeoTheFox | 2017-06-19 12:12:54 +0300 |
---|---|---|
committer | NeoTheFox | 2017-06-19 12:12:54 +0300 |
commit | 47c8e45b203c70fbf7c2af404321a5200ab16754 (patch) | |
tree | 852afcf9d24cc0d28745d33fc8f5edcb18d5d220 | |
download | aur-47c8e45b203c70fbf7c2af404321a5200ab16754.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f01809b29771 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = pxdo-git + pkgdesc = Python script for querying X-server information and manipulating X-windows + pkgver = c77d029 + pkgrel = 1 + url = https://github.com/xhsdf/rtile + arch = i686 + arch = x86_64 + arch = armv7h + license = GPL + makedepends = git + depends = python-xlib + provides = pxdo + conflicts = pxdo + source = pxdo-git::git://github.com/xhsdf/pxdo.git + md5sums = SKIP + +pkgname = pxdo-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2a985a45cd95 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=pxdo-git +pkgver=c77d029 +pkgrel=1 +pkgdesc="Python script for querying X-server information and manipulating X-windows" +arch=('i686' 'x86_64' 'armv7h') +url="https://github.com/xhsdf/rtile" +license=('GPL') +depends=('python-xlib') +makedepends=('git') +conflicts=('pxdo') +provides=('pxdo') +# The git repo is detected by the 'git:' or 'git+' beginning. The branch +# '$pkgname' is then checked out upon cloning, expediating versioning: +#source=('git+https://github.com/falconindy/expac.git' +source=("$pkgname"::'git://github.com/xhsdf/pxdo.git') +# Because the sources are not static, skip Git checksum: +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + # Use the tag of the last commit + git describe --always --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g' +} + +package() { + cd "$srcdir/$pkgname" + install -Dm755 "pxdo.py" "$pkgdir/usr/bin/pxdo.py" +} |