diff options
author | Joel Teichroeb | 2015-06-08 16:38:37 -0700 |
---|---|---|
committer | Joel Teichroeb | 2015-06-08 16:38:37 -0700 |
commit | b13cb8699776ec8e8b28c054798c39074b082f1c (patch) | |
tree | f484432068bb91199e05ae13b6420c8fd3c902fa | |
download | aur-b13cb8699776ec8e8b28c054798c39074b082f1c.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..24db4a0f7d04 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = wayland-git + pkgdesc = A computer display server protocol. + pkgver = 1.8.90.1733.56a5a89 + pkgrel = 1 + url = http://wayland.freedesktop.org + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + makedepends = expat + depends = libffi + provides = wayland=1.8.90.1733.56a5a89 + conflicts = wayland + source = git://anongit.freedesktop.org/wayland/wayland + sha1sums = SKIP + +pkgname = wayland-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..aad4520d5d8d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Joel Teichroeb <joel@teichroeb.net> +# Contributor: Scimmia + +pkgname=wayland-git +pkgver=1.8.90.1733.56a5a89 +pkgrel=1 +pkgdesc='A computer display server protocol.' +arch=(i686 x86_64) +url='http://wayland.freedesktop.org' +provides=("wayland=${pkgver}") +license=('MIT') +depends=('libffi') +makedepends=('git' 'expat') +conflicts=('wayland') +source=(git://anongit.freedesktop.org/wayland/wayland) +sha1sums=('SKIP') + +pkgver() { + cd wayland + + for i in major_version minor_version micro_version; do + local _$i=$(grep -m 1 $i configure.ac | sed 's/m4//' | grep -o "[[:digit:]]*") + done + + echo $_major_version.$_minor_version.$_micro_version.$(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + + +build() { + cd wayland + + ./autogen.sh --prefix=/usr \ + --disable-documentation \ + --disable-static + make +} + +package() { + cd wayland + make DESTDIR="${pkgdir}" install + install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |