[arch-commits] Commit in wake/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jul 7 09:10:41 UTC 2021


    Date: Wednesday, July 7, 2021 @ 09:10:41
  Author: felixonmars
Revision: 974261

archrelease: copy trunk to community-x86_64

Added:
  wake/repos/community-x86_64/PKGBUILD
    (from rev 974260, wake/trunk/PKGBUILD)
Deleted:
  wake/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-07 09:10:31 UTC (rev 974260)
+++ PKGBUILD	2021-07-07 09:10:41 UTC (rev 974261)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jiuyang Liu <liujiuyang1994 at gmail.com>
-
-shopt -s extglob
-
-pkgname=wake
-pkgver=0.20.2
-pkgrel=1
-pkgdesc="The SiFive wake build tool"
-arch=('x86_64')
-url="https://github.com/sifive/wake"
-license=('custom')
-depends=('dash' 'sqlite' 'gmp' 'fuse2' 'libutf8proc' 're2')
-optdepends=('re2c: for flag support')
-source=("https://github.com/sifive/wake/releases/download/v$pkgver/wake_$pkgver.tar.xz")
-sha512sums=('770c354be1dc6acbd9a3e586dfbfeb7ff3f416340ead4ecd981bc668a6900969a9b83e033abfe8a1471d1b022a04ff163bd3470bfec58cf1d9db00cccb7ddb11')
-
-prepare() {
-  cd $pkgname-$pkgver
-  (cd utf8proc; rm !(utf8proc.wake))
-  sed -i 's|utf8proc/utf8proc.c ||;s|CORE_LDFLAGS :=	\$|CORE_LDFLAGS :=	$(shell pkg-config --silence-errors --libs libutf8proc) $|' Makefile
-  sed -i 's|"utf8proc"|"libutf8proc"|' utf8proc/utf8proc.wake
-  sed -i "s^releaseCFlags = (\"-Wall\", \"-O2^releaseCFlags = (\"$(echo $CFLAGS | sed 's/ /", "/g')^" share/wake/lib/system/gcc.wake
-  sed -i "s^releaseLFlags = (^releaseLFlags = (\"$(echo $LDFLAGS | sed 's/ /", "/g')\", ^" share/wake/lib/system/gcc.wake
-}
-
-build() {
-  cd $pkgname-$pkgver
-  make USE_FUSE_WAKE=0
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir/usr" install
-  mkdir -p "$pkgdir"/usr/share/licenses/wake
-  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE* "$pkgdir"/usr/share/licenses/wake
-
-  rm -r "$pkgdir"/usr/build
-}

Copied: wake/repos/community-x86_64/PKGBUILD (from rev 974260, wake/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-07 09:10:41 UTC (rev 974261)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jiuyang Liu <liujiuyang1994 at gmail.com>
+
+shopt -s extglob
+
+pkgname=wake
+pkgver=0.21.0
+pkgrel=1
+pkgdesc="The SiFive wake build tool"
+arch=('x86_64')
+url="https://github.com/sifive/wake"
+license=('custom')
+depends=('dash' 'sqlite' 'gmp' 'fuse2' 'libutf8proc' 're2')
+optdepends=('re2c: for flag support')
+source=("https://github.com/sifive/wake/releases/download/v$pkgver/wake_$pkgver.tar.xz")
+sha512sums=('5d49d680796a2682037ad311b0495f2f04a69dc90faba4458a1bb84a3d5c42e9014563e4b6a3e9600d50a2d4c3cbf5e60318266535c73453c08085015bd57f68')
+
+prepare() {
+  cd $pkgname-$pkgver
+  (cd utf8proc; rm !(utf8proc.wake))
+  sed -i 's|utf8proc/utf8proc.c ||;s|CORE_LDFLAGS :=	\$|CORE_LDFLAGS :=	$(shell pkg-config --silence-errors --libs libutf8proc) $|' Makefile
+  sed -i 's|"utf8proc"|"libutf8proc"|' utf8proc/utf8proc.wake
+  sed -i "s^releaseCFlags = (\"-Wall\", \"-O2^releaseCFlags = (\"$(echo $CFLAGS | sed 's/ /", "/g')^" share/wake/lib/gcc_wake/gcc.wake
+  sed -i "s^releaseLFlags = (^releaseLFlags = (\"$(echo $LDFLAGS | sed 's/ /", "/g')\", ^" share/wake/lib/gcc_wake/gcc.wake
+}
+
+build() {
+  cd $pkgname-$pkgver
+  make USE_FUSE_WAKE=0
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir/usr" install
+  mkdir -p "$pkgdir"/usr/share/licenses/wake
+  install -Dm644 LICENSE* -t "$pkgdir"/usr/share/licenses/wake/
+}




More information about the arch-commits mailing list