summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJianqiu Zhang2019-03-28 19:47:01 +0800
committerJianqiu Zhang2019-03-28 19:47:01 +0800
commit5e93d9bd8dcbf1a3288dd4f94bf0a192aff13ee5 (patch)
tree28483ec3d36506104c2fe88fe82dd237c561af65 /PKGBUILD
downloadaur-x11spice.tar.gz
Add package x11spice
Signed-off-by: Jianqiu Zhang <zhangjianqiu13@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..01b06bd7aaf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Your Name <youremail@domain.com>
+
+pkgname=x11spice
+pkgver=1.1
+pkgrel=1
+pkgdesc="Connects a running X server as a Spice server."
+arch=('i686' 'x86_64')
+url="https://gitlab.freedesktop.org/spice/x11spice"
+license=(GPL3)
+depends=(spice gtk3)
+makedepends=(spice-protocol git libxcb xcb-util gtk3 xf86-video-qxl libcacard)
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+changelog=
+source=("$pkgname-$pkgver::git+https://gitlab.freedesktop.org/spice/x11spice")
+noextract=()
+md5sums=('SKIP')
+
+pkgver()
+{
+ echo $pkgver
+}
+
+check()
+{
+ echo "Skipped"
+}
+
+prepare()
+{
+ echo "Prepare"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./autogen.sh
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}
+