[arch-commits] Commit in poke/repos (community-x86_64 community-x86_64/PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Fri Feb 26 11:26:23 UTC 2021
Date: Friday, February 26, 2021 @ 11:26:22
Author: foxboron
Revision: 874385
archrelease: copy trunk to community-x86_64
Added:
poke/repos/community-x86_64/
poke/repos/community-x86_64/PKGBUILD
(from rev 874384, poke/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: poke/repos/community-x86_64/PKGBUILD (from rev 874384, poke/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-02-26 11:26:22 UTC (rev 874385)
@@ -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