summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryesuu2015-08-20 00:39:54 +0800
committeryesuu2015-08-20 00:39:54 +0800
commit01319239764b8831d29f46c7dc7a347a2837e8eb (patch)
treebde071e040dd2c33d48fad53925ced85f2cd6540
downloadaur-xpyb-git.tar.gz
first commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD25
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e665147a96f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = xpyb-git
+ pkgdesc = XCB-based Python bindings for the X Window System
+ pkgver = r93.ed0147e
+ pkgrel = 1
+ url = http://xcb.freedesktop.org
+ arch = i686
+ arch = x86_64
+ license = X11
+ makedepends = gcc
+ makedepends = git
+ depends = python2
+ depends = xcb-proto
+ depends = libxcb>=1.7
+ source = git://anongit.freedesktop.org/xcb/xpyb
+ sha256sums = SKIP
+
+pkgname = xpyb-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a28b857d181
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: yesuu zhang <yesuu79@qq.com>
+
+pkgname=xpyb-git
+pkgver=r93.ed0147e
+pkgrel=1
+pkgdesc='XCB-based Python bindings for the X Window System'
+url='http://xcb.freedesktop.org'
+license=('X11')
+arch=('i686' 'x86_64')
+depends=('python2' 'xcb-proto' 'libxcb>=1.7')
+makedepends=('gcc' 'git')
+source=('git://anongit.freedesktop.org/xcb/xpyb')
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/xpyb"
+ PYTHON=python2 ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/xpyb"
+ make DESTDIR="$pkgdir" install
+}
+