diff options
author | otreblan | 2020-09-30 07:42:38 -0500 |
---|---|---|
committer | otreblan | 2020-09-30 07:42:38 -0500 |
commit | 16bc565196f5dfd2c8bb9065067d4f1fa5163ffa (patch) | |
tree | 195d3ce76fc7edaf061f44a63f6374253d2f24df | |
download | aur-16bc565196f5dfd2c8bb9065067d4f1fa5163ffa.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | .gitignore | 16 | ||||
-rw-r--r-- | PKGBUILD | 49 |
3 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d20ad6c5bd02 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = giara-git + pkgdesc = Reddit gtk client + pkgver = r80.f595496 + pkgrel = 1 + url = https://gitlab.gnome.org/GabMus/giara + arch = any + license = GPL3 + makedepends = meson + makedepends = git + makedepends = gobject-introspection + depends = gtksourceview4 + depends = libhandy1 + depends = python-dateutil + depends = python-flask + depends = python-gobject + depends = python-mistune + depends = python-pillow + depends = python-praw + depends = webkit2gtk + provides = giara + conflicts = giara + conflicts = redditgtk + replaces = redditgtk + source = giara-git::git+https://gitlab.gnome.org/GabMus/giara.git + sha256sums = SKIP + +pkgname = giara-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..9f0524f7c04b --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +# create by https://github.com/iamcco/coc-gitignore (Sun Sep 20 2020 08:39:38 GMT-0500 (hora estándar de Perú)) +# ArchLinuxPackages.gitignore: +*.tar +*.tar.* +*.jar +*.exe +*.msi +*.zip +*.tgz +*.log +*.log.* +*.sig + +pkg/ +src/ +*-git/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ba0a484ebd9a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Otreblan <otreblain@gmail.com> + +pkgname=giara-git +pkgver=r80.f595496 +pkgrel=1 +epoch= +pkgdesc="Reddit gtk client" +arch=('any') +url="https://gitlab.gnome.org/GabMus/giara" +license=('GPL3') +groups=() +depends=( + 'gtksourceview4' + 'libhandy1' + 'python-dateutil' + 'python-flask' + 'python-gobject' + 'python-mistune' + 'python-pillow' + 'python-praw' + 'webkit2gtk' +) +makedepends=('meson' 'git' 'gobject-introspection') +checkdepends=() +optdepends=() +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}" redditgtk) +replaces=("redditgtk") +source=("$pkgname::git+$url.git") +sha256sums=("SKIP") + +pkgver() { + cd "$srcdir/$pkgname" + ( set -o pipefail + git describe --tags --long 2>/dev/null | sed 's/^v-//;s/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + + +build() { + arch-meson "$pkgname" build + + meson compile -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +} |