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

Morten Linderud foxboron at gemini.archlinux.org
Mon Feb 28 09:43:16 UTC 2022


    Date: Monday, February 28, 2022 @ 09:43:16
  Author: foxboron
Revision: 1138314

archrelease: copy trunk to community-staging-x86_64

Added:
  poke/repos/community-staging-x86_64/
  poke/repos/community-staging-x86_64/PKGBUILD
    (from rev 1138313, poke/trunk/PKGBUILD)

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

Copied: poke/repos/community-staging-x86_64/PKGBUILD (from rev 1138313, poke/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-02-28 09:43:16 UTC (rev 1138314)
@@ -0,0 +1,35 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Yunxiang Li <shironeko at waifu.club>
+
+pkgname=poke
+pkgver=2.1
+pkgrel=2
+pkgdesc="Interactive, extensible editor for binary data."
+arch=(x86_64)
+url="http://www.jemarch.net/poke.html"
+license=('GPL3')
+depends=('gc' 'readline' 'gettext' 'json-c')
+makedepends=('help2man')
+checkdepends=('dejagnu')
+options=('!lto' 'debug')
+source=("https://ftp.gnu.org/gnu/poke/poke-${pkgver}.tar.gz"{,.sig})
+validpgpkeys=('BDFA5717FC1DD35C2C3832A23EF90523B304AF08')
+sha256sums=('cd528e6c1bbc540c3b629c2b4f36b784b30a026b005a38b99283422599442670'
+            'SKIP')
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    # TODO: This vendors two dependencies I think.
+    ./configure --prefix=/usr
+    make
+}
+
+check() {
+    cd "${pkgname}-${pkgver}"
+    make -k check
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}/" install
+}



More information about the arch-commits mailing list