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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:00:35 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:00:34
  Author: felixonmars
Revision: 659942

archrelease: copy trunk to community-staging-x86_64

Added:
  libwapcaplet/repos/community-staging-x86_64/
  libwapcaplet/repos/community-staging-x86_64/PKGBUILD
    (from rev 659941, libwapcaplet/trunk/PKGBUILD)

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

Copied: libwapcaplet/repos/community-staging-x86_64/PKGBUILD (from rev 659941, libwapcaplet/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 18:00:34 UTC (rev 659942)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=libwapcaplet
+pkgver=0.4.3
+pkgrel=2
+pkgdesc='String internment library with rapid string comparison'
+arch=(x86_64)
+url='https://www.netsurf-browser.org/projects/libwapcaplet/'
+license=(MIT)
+makedepends=(netsurf-buildsystem)
+source=("https://download.netsurf-browser.org/libs/releases/$pkgname-$pkgver-src.tar.gz")
+sha256sums=('9b2aa1dd6d6645f8e992b3697fdbd87f0c0e1da5721fa54ed29b484d13160c5c')
+
+prepare() {
+  sed -i 's:_BSD_SOURCE:_DEFAULT_SOURCE:;s:rns:rns -w:' \
+    $pkgname-$pkgver/Makefile
+}
+
+build() {
+  make -C $pkgname-$pkgver PREFIX=/usr COMPONENT_TYPE=lib-shared
+}
+
+package() {
+  make -C $pkgname-$pkgver \
+    INCLUDEDIR=include \
+    LIBDIR=lib \
+    PREFIX=/usr \
+    DESTDIR="$pkgdir" \
+    COMPONENT_TYPE=lib-shared \
+    install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list