diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..975488965325 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = xpybutil-git + pkgdesc = An incomplete xcb-util port plus some extras + pkgver = r89.8ee7dc4 + pkgrel = 1 + url = https://github.com/BurntSushi/xpybutil + arch = any + license = custom:WTFPL + makedepends = git + depends = python2 + depends = xpyb-git + optdepends = python-imaging + source = git+https://github.com/BurntSushi/xpybutil.git + sha256sums = SKIP + +pkgname = xpybutil-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..df3fa51caaed --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: yesuu zhang <yesuu79@qq.com> + +pkgname=xpybutil-git +pkgver=r89.8ee7dc4 +pkgrel=1 +pkgdesc='An incomplete xcb-util port plus some extras' +arch=('any') +url='https://github.com/BurntSushi/xpybutil' +license=('custom:WTFPL') +makedepends=('git') +depends=('python2' 'xpyb-git') +optdepends=('python-imaging') +source=('git+https://github.com/BurntSushi/xpybutil.git') +sha256sums=('SKIP') + +package() { + cd "${srcdir}/xpybutil" + python2 ./setup.py install --root=$pkgdir + mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s -f /usr/share/doc/xpybutil/COPYING "${pkgdir}/usr/share/licenses/${pkgname}" +} |