[arch-commits] Commit in timezonemap/repos (2 files)

Eli Schwartz eschwartz at archlinux.org
Mon Nov 25 04:39:49 UTC 2019


    Date: Monday, November 25, 2019 @ 04:39:48
  Author: eschwartz
Revision: 533171

archrelease: copy trunk to community-x86_64

Added:
  timezonemap/repos/community-x86_64/
  timezonemap/repos/community-x86_64/PKGBUILD
    (from rev 533170, timezonemap/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: timezonemap/repos/community-x86_64/PKGBUILD (from rev 533170, timezonemap/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-11-25 04:39:48 UTC (rev 533171)
@@ -0,0 +1,36 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=timezonemap
+pkgver=0.4.5.1
+pkgrel=1
+pkgdesc="Gtk3 timezone map widget, forked from gnome which forked from Ubiquity"
+arch=('x86_64')
+url="https://github.com/dashea/${pkgname}"
+license=('GPL3')
+depends=('gtk3' 'libsoup')
+makedepends=('gobject-introspection')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('4e46ef325c488bed73fd758275866f467f2e2d0c375fb3fbd7b149a7869b74be')
+b2sums=('bd9a10fae6db91e3c7ee5a3d573757867c0506db1d010cf78345b36d615fedca4fdf75fedd7aadaf13e46819c0afbadbef8fcd83855d775058d1113c59fc1035')
+
+prepare() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    autoreconf -fi
+}
+
+build() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    ./configure --prefix=/usr
+    # https://bugzilla.gnome.org/show_bug.cgi?id=656231
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+    make
+}
+
+package() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list