diff options
author | Rafael Fontenelle | 2020-04-03 12:32:18 -0300 |
---|---|---|
committer | Rafael Fontenelle | 2020-04-03 12:32:18 -0300 |
commit | 034f9fede85cb07fab60f2343a40c9b080855fc1 (patch) | |
tree | 5cfb6a04c11604f42b540c8333ea1ed874109464 | |
download | aur-034f9fede85cb07fab60f2343a40c9b080855fc1.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 22 | ||||
-rw-r--r-- | PKGBUILD | 31 |
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f3d1432f8745 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = gnome-tour-git + pkgdesc = A guided tour and greeter for GNOME + pkgver = 0.0.1.r5.g92c75f1 + pkgrel = 1 + url = https://gitlab.gnome.org/GNOME/gnome-tour + arch = x86_64 + license = GPL + makedepends = appstream-glib + makedepends = rust + makedepends = meson + makedepends = git + depends = gtk3 + conflicts = gnome-tour + source = git+https://gitlab.gnome.org/GNOME/gnome-tour + md5sums = SKIP + +pkgname = gnome-tour-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ddfe915b4f92 --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# ignore everything ... +* + +# ... except itself +!.gitignore + +# ... except changes in package +!PKGBUILD +!.SRCINFO + +# ... except possible source files +!*.patch +!*.diff +!*.desktop +!*.png +!LICENSE +!*.service +!*.conf + +# ... except files from PKGBUILD fields +!*.changelog +!*.install diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d119f655e090 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Rafael Fontenelle <rafaelff@gnome.org> +_name=gnome-tour +pkgname=$_name-git +pkgver=0.0.1.r5.g92c75f1 +pkgrel=1 +pkgdesc="A guided tour and greeter for GNOME" +arch=(x86_64) +url="https://gitlab.gnome.org/GNOME/$_name" +license=('GPL') +depends=(gtk3) +makedepends=(appstream-glib rust meson git) +conflicts=($_name) +source=("git+$url") +md5sums=('SKIP') + +pkgver() { + cd $_name + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + arch-meson $_name build \ + -Ddistro_name='Arch Linux' \ + -Ddistro_icon_name='archlinux' \ + -Ddistro_version=' ' # rolling release, no version + ninja -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install +} |