[arch-commits] Commit in poke/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Fri Feb 26 11:26:16 UTC 2021


    Date: Friday, February 26, 2021 @ 11:26:15
  Author: foxboron
Revision: 874384

upgpkg: poke 1.0-1

Added:
  poke/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-26 11:26:15 UTC (rev 874384)
@@ -0,0 +1,34 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Yunxiang Li <shironeko at waifu.club>
+
+pkgname=poke
+pkgver=1.0
+pkgrel=1
+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')
+source=("https://ftp.gnu.org/gnu/poke/poke-1.0.tar.gz"{,.sig})
+validpgpkeys=('BDFA5717FC1DD35C2C3832A23EF90523B304AF08')
+sha256sums=('de930b8700c0772b3c2cd0d0ca35f50fd3d77bdf82c6251eb516b49e8ca25b0a'
+            '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