diff options
author | Jianqiu Zhang | 2019-03-28 19:47:01 +0800 |
---|---|---|
committer | Jianqiu Zhang | 2019-03-28 19:47:01 +0800 |
commit | 5e93d9bd8dcbf1a3288dd4f94bf0a192aff13ee5 (patch) | |
tree | 28483ec3d36506104c2fe88fe82dd237c561af65 | |
download | aur-5e93d9bd8dcbf1a3288dd4f94bf0a192aff13ee5.tar.gz |
Add package x11spice
Signed-off-by: Jianqiu Zhang <zhangjianqiu13@gmail.com>
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1cc12c146c00 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = x11spice + pkgdesc = Connects a running X server as a Spice server. + pkgver = 1.1 + pkgrel = 1 + url = https://gitlab.freedesktop.org/spice/x11spice + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = spice-protocol + makedepends = git + makedepends = libxcb + makedepends = xcb-util + makedepends = gtk3 + makedepends = xf86-video-qxl + makedepends = libcacard + depends = spice + depends = gtk3 + source = x11spice-1.1::git+https://gitlab.freedesktop.org/spice/x11spice + md5sums = SKIP + +pkgname = x11spice + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..01b06bd7aaf7 --- /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 +} + |