[arch-commits] Commit in woff2/trunk (PKGBUILD)
Date: Thursday, May 7, 2020 @ 17:33:34 Author: heftig Revision: 382689 1.0.2-3 Modified: woff2/trunk/PKGBUILD --+ PKGBUILD | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-07 17:32:56 UTC (rev 382688) +++ PKGBUILD2020-05-07 17:33:34 UTC (rev 382689) @@ -2,13 +2,14 @@ pkgname=woff2 pkgver=1.0.2 -pkgrel=2 +pkgrel=3 pkgdesc="Web Open Font Format 2 reference implementation" url="https://github.com/google/woff2"; arch=(x86_64) license=(custom:MIT) depends=(brotli) -makedepends=(git cmake ninja) +makedepends=(git cmake) +provides=(libwoff2{common,dec,enc}.so) _commit=1bccf208bca986e53a647dfe4811322adb06ecf8 # tags/v1.0.2 source=("git+$url#commit=$_commit") sha512sums=('SKIP') @@ -15,17 +16,19 @@ prepare() { cd $pkgname + + # Install binaries sed -i 's/NOT BUILD_SHARED_LIBS/TRUE/' CMakeLists.txt } build() { - cd $pkgname - cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib . - ninja + cmake -H$pkgname -Bbuild \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=/usr/lib + cmake --build build } package() { - cd $pkgname - DESTDIR="$pkgdir" ninja install - install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE + DESTDIR="$pkgdir" cmake --build build --target install + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/LICENSE }
[arch-commits] Commit in woff2/trunk (PKGBUILD)
Date: Thursday, May 7, 2020 @ 04:06:03 Author: allan Revision: 382527 upgpkg: woff2 1.0.2-2: .BUILDINFO rebuild Modified: woff2/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-05-07 04:05:54 UTC (rev 382526) +++ PKGBUILD2020-05-07 04:06:03 UTC (rev 382527) @@ -2,7 +2,7 @@ pkgname=woff2 pkgver=1.0.2 -pkgrel=1 +pkgrel=2 pkgdesc="Web Open Font Format 2 reference implementation" url="https://github.com/google/woff2"; arch=(x86_64)
[arch-commits] Commit in woff2/trunk (PKGBUILD)
Date: Sunday, March 11, 2018 @ 17:33:03 Author: heftig Revision: 318557 1.0.2-1 Added: woff2/trunk/PKGBUILD --+ PKGBUILD | 32 1 file changed, 32 insertions(+) Added: PKGBUILD === --- PKGBUILD(rev 0) +++ PKGBUILD2018-03-11 17:33:03 UTC (rev 318557) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) + +pkgname=woff2 +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Web Open Font Format 2 reference implementation" +url="https://github.com/google/woff2"; +arch=(x86_64) +license=(custom:MIT) +depends=(brotli) +makedepends=(git cmake ninja) +_commit=1bccf208bca986e53a647dfe4811322adb06ecf8 # tags/v1.0.2 +source=("git+$url#commit=$_commit") +sha512sums=('SKIP') + +prepare() { + cd $pkgname + sed -i 's/NOT BUILD_SHARED_LIBS/TRUE/' CMakeLists.txt +} + +build() { + cd $pkgname + cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib . + ninja +} + +package() { + cd $pkgname + DESTDIR="$pkgdir" ninja install + install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE +} Property changes on: woff2/trunk/PKGBUILD ___ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property