[arch-commits] Commit in libnih/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Jul 7 21:29:54 UTC 2020
Date: Tuesday, July 7, 2020 @ 21:29:54
Author: foutrelis
Revision: 660438
archrelease: copy trunk to community-staging-x86_64
Added:
libnih/repos/community-staging-x86_64/
libnih/repos/community-staging-x86_64/PKGBUILD
(from rev 660437, libnih/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: libnih/repos/community-staging-x86_64/PKGBUILD (from rev 660437, libnih/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 21:29:54 UTC (rev 660438)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Old Maintainer: Andrea Fagiani <andfagiani {at} gmail {dot} com>
+# Contributor: Brett Mravec <brett.mravec at gmail.com>
+
+pkgname=libnih
+pkgver=1.0.3
+pkgrel=4
+pkgdesc="Small library for C application development."
+arch=(x86_64)
+url="https://launchpad.net/libnih"
+license=('GPL')
+depends=('dbus')
+makedepends=('expat')
+validpgpkeys=('8D2D1F62A4AC9A22FEFCB0DC21EC4FDC84AD676C')
+source=(https://launchpad.net/libnih/1.0/${pkgver}/+download/$pkgname-$pkgver.tar.gz{,.asc})
+sha512sums=('fce40d2445b28c27b8838631681ca3206a4f053b2dd4fc488fc9ef98bbd3d933e3d62b82cf346be2ef1677f6457f692cf5544cd915a6bb1e5c618f98ffa101b4'
+ 'SKIP')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir"/ install
+}
More information about the arch-commits
mailing list