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

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:33:53 UTC 2018


    Date: Friday, November 9, 2018 @ 23:33:53
  Author: felixonmars
Revision: 405316

archrelease: copy trunk to community-staging-x86_64

Added:
  libunibreak/repos/community-staging-x86_64/
  libunibreak/repos/community-staging-x86_64/PKGBUILD
    (from rev 405315, libunibreak/trunk/PKGBUILD)

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

Copied: libunibreak/repos/community-staging-x86_64/PKGBUILD (from rev 405315, libunibreak/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 23:33:53 UTC (rev 405316)
@@ -0,0 +1,28 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Orivej Desh <smpuj at bk.ru>
+
+pkgname=libunibreak
+pkgver=4.0
+pkgrel=2
+pkgdesc="An implementation of the line breaking algorithm as described in Unicode 5.2.0 Standard Annex 14, Revision 24"
+arch=("x86_64")
+url="https://github.com/adah1972/libunibreak/"
+license=("custom:zlib/libpng")
+depends=()
+replaces=('liblinebreak')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/adah1972/libunibreak/archive/libunibreak_${pkgver//./_}.tar.gz")
+sha256sums=('8ea270d2d9dea6b633f7de1a4a624163c3549b4b6f5031f08c6b96d704d58aa4')
+
+build() {
+  cd "$srcdir/libunibreak-libunibreak_${pkgver//./_}"
+  ./bootstrap
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/libunibreak-libunibreak_${pkgver//./_}"
+  make DESTDIR="$pkgdir" install
+  rm -f "$pkgdir"/usr/lib/*.a
+  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list