summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD36
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f796d348936
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+pkgbase = eog-git
+ pkgdesc = Eye of Gnome: An image viewing and cataloging program
+ pkgver = 3.31.3+1+ga78d3b5b
+ pkgrel = 1
+ url = https://wiki.gnome.org/Apps/EyeOfGnome
+ arch = x86_64
+ groups = gnome
+ license = GPL
+ makedepends = intltool
+ makedepends = itstool
+ makedepends = gobject-introspection
+ makedepends = gtk-doc
+ makedepends = gnome-common
+ makedepends = git
+ makedepends = meson
+ depends = gnome-desktop
+ depends = libexif
+ depends = lcms2
+ depends = exempi
+ depends = libpeas
+ depends = librsvg
+ depends = dconf
+ optdepends = eog-plugins: Additional features
+ provides = eog
+ conflicts = eog
+ options = !emptydirs
+ source = git+https://gitlab.gnome.org/GNOME/eog.git
+ sha256sums = SKIP
+
+pkgname = eog-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a60f749e567
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Ricardo Liang (rliang) <ricardoliang@gmail.com>
+
+pkgname=eog-git
+pkgver=3.31.3+1+ga78d3b5b
+pkgrel=1
+pkgdesc="Eye of Gnome: An image viewing and cataloging program"
+url="https://wiki.gnome.org/Apps/EyeOfGnome"
+arch=(x86_64)
+license=(GPL)
+provides=(eog)
+conflicts=(eog)
+depends=(gnome-desktop libexif lcms2 exempi libpeas librsvg dconf)
+makedepends=(intltool itstool gobject-introspection gtk-doc gnome-common git meson)
+optdepends=('eog-plugins: Additional features')
+groups=(gnome)
+options=(!emptydirs)
+source=("git+https://gitlab.gnome.org/GNOME/eog.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd eog
+ git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+ arch-meson eog build -D gtk_doc=true
+ ninja -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}