[arch-commits] Commit in libindicator/repos/community-x86_64 (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Mon Mar 16 08:36:08 UTC 2020
Date: Monday, March 16, 2020 @ 08:36:05
Author: bgyorgy
Revision: 599098
archrelease: copy trunk to community-x86_64
Added:
libindicator/repos/community-x86_64/PKGBUILD
(from rev 599097, libindicator/trunk/PKGBUILD)
Deleted:
libindicator/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 163 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 78 insertions(+), 85 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-16 08:35:59 UTC (rev 599097)
+++ PKGBUILD 2020-03-16 08:36:05 UTC (rev 599098)
@@ -1,85 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
-# Contributor: Yurii Kolesnykov <yurikoles at gmail dot com>
-# Contributor: Gustavo <sl1pkn07 at gmail dot com>
-# Contributor: Maxime Gauduin <alucryd at archlinux dot org>
-# Contributor: Balló György <ballogyor+arch at gmail dot com>
-
-pkgbase=libindicator
-pkgname=("${pkgbase}-gtk"{2,3})
-pkgver=12.10.1
-pkgrel=8
-pkgdesc='Set of symbols and convenience functions for Ayatana indicators'
-url='https://launchpad.net/libindicator'
-arch=('x86_64')
-license=('GPL3')
-makedepends=('gtk2' 'gtk3' 'pkg-config' 'python')
-source=(https://launchpad.net/${pkgbase}/${pkgver%.*}/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz{,.asc})
-sha512sums=('d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af'
- 'SKIP')
-validpgpkeys=('6FC05581A37D71FCECE165DB5BE41E162CD6358E') # Charles Kerr <charles.kerr at canonical.com>
-
-prepare() {
- (cd ${pkgbase}-${pkgver}
- sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i ${pkgbase}/Makefile.{am,in}
- sed 's/LIBINDICATOR_LIBS+="$LIBM"/LIBINDICATOR_LIBS+=" $LIBM"/g' -i configure
- sed 's/LIBM="-lmw"/LIBM=" -lmw"/g' -i configure
- sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i configure
- sed 's/LIBS="-lm $LIBS"/LIBS=" -lm $LIBS"/g' -i configure
- sed 's/LIBS="-lmw $LIBS"/LIBS=" -lmw $LIBS"/g' -i configure
- sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i m4/libtool.m4
- )
- cp -ra ${pkgbase}-${pkgver}{,-gtk2}
-}
-
-build() {
- msg2 "Building gtk3..."
- (cd ${pkgbase}-${pkgver}
- ./configure \
- --prefix=/usr \
- --localstatedir=/var \
- --libexecdir=/usr/lib/libindicator \
- --sysconfdir=/etc \
- --with-gtk=3 \
- --disable-static \
- --disable-tests
- make
- )
-
- msg2 "Building gtk2..."
- (cd ${pkgbase}-${pkgver}-gtk2
- ./configure \
- --prefix=/usr \
- --localstatedir=/var \
- --libexecdir=/usr/lib/libindicator \
- --sysconfdir=/etc \
- --with-gtk=2 \
- --disable-static \
- --disable-tests
- make
- )
-}
-
-package_libindicator-gtk2() {
- pkgdesc+=" (GTK+ 2 library)"
- depends=('gtk2')
- provides=("${pkgbase}")
- conflicts=("${pkgbase}")
-
- cd ${pkgbase}-${pkgver}-gtk2
- make -j1 DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/share
-}
-
-package_libindicator-gtk3() {
- pkgdesc+=" (GTK+ 3 library)"
- depends=('gtk3')
- provides=("${pkgbase}3")
- conflicts=("${pkgbase}3")
-
- cd ${pkgbase}-${pkgver}
- make -j1 DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/share
-}
-
-# vim: ts=2 sw=2 et:
Copied: libindicator/repos/community-x86_64/PKGBUILD (from rev 599097, libindicator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-16 08:36:05 UTC (rev 599098)
@@ -0,0 +1,78 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
+# Contributor: Yurii Kolesnykov <yurikoles at gmail dot com>
+# Contributor: Gustavo <sl1pkn07 at gmail dot com>
+# Contributor: Maxime Gauduin <alucryd at archlinux dot org>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=libindicator
+pkgname=("${pkgbase}-gtk"{2,3})
+pkgver=12.10.1
+pkgrel=9
+pkgdesc='Set of symbols and convenience functions for Ayatana indicators'
+url='https://launchpad.net/libindicator'
+arch=('x86_64')
+license=('GPL3')
+makedepends=('gtk2' 'gtk3' 'python')
+source=(https://launchpad.net/${pkgbase}/${pkgver%.*}/${pkgver}/+download/${pkgbase}-${pkgver}.tar.gz{,.asc})
+sha512sums=('d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af'
+ 'SKIP')
+validpgpkeys=('6FC05581A37D71FCECE165DB5BE41E162CD6358E') # Charles Kerr <charles.kerr at canonical.com>
+
+prepare() {
+ (cd ${pkgbase}-${pkgver}
+ sed -i 's/-Werror//' {libindicator,tools}/Makefile.am
+ autoreconf -fi
+ )
+ cp -ra ${pkgbase}-${pkgver}{,-gtk2}
+}
+
+build() {
+ msg2 "Building gtk3..."
+ (cd ${pkgbase}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/libindicator \
+ --sysconfdir=/etc \
+ --with-gtk=3 \
+ --disable-static \
+ --disable-tests
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+ )
+
+ msg2 "Building gtk2..."
+ (cd ${pkgbase}-${pkgver}-gtk2
+ ./configure \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/libindicator \
+ --sysconfdir=/etc \
+ --with-gtk=2 \
+ --disable-static \
+ --disable-tests
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+ )
+}
+
+package_libindicator-gtk2() {
+ pkgdesc+=" (GTK+ 2 library)"
+ depends=('gtk2')
+
+ cd ${pkgbase}-${pkgver}-gtk2
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/share
+}
+
+package_libindicator-gtk3() {
+ pkgdesc+=" (GTK+ 3 library)"
+ depends=('gtk3')
+
+ cd ${pkgbase}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/usr/share
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list