upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / poke / trunk / PKGBUILD
blobf18988ed4a1f866979b9393c976acf6104c7672b
1 # Maintainer: Morten Linderud <foxboron@archlinux.org>
2 # Contributor: Yunxiang Li <shironeko@waifu.club>
4 pkgname=poke
5 pkgver=3.2
6 pkgrel=1
7 pkgdesc="Interactive, extensible editor for binary data."
8 arch=(x86_64)
9 url="http://www.jemarch.net/poke.html"
10 license=('GPL3')
11 depends=('gc' 'readline' 'gettext' 'json-c')
12 makedepends=('help2man')
13 checkdepends=('dejagnu')
14 options=('!lto')
15 source=("https://ftp.gnu.org/gnu/poke/poke-${pkgver}.tar.gz"{,.sig})
16 validpgpkeys=('BDFA5717FC1DD35C2C3832A23EF90523B304AF08')
17 sha256sums=('758e551dd53a6cce54ec94d8fc21fa4d6b52a27d1c2667206d599ecdc74f0d97'
18             'SKIP')
20 build() {
21     cd "${pkgname}-${pkgver}"
22     # TODO: This vendors two dependencies I think.
23     ./configure --prefix=/usr
24     make
27 check() {
28     cd "${pkgname}-${pkgver}"
29     make -k check
32 package() {
33     cd "${pkgname}-${pkgver}"
34     make DESTDIR="${pkgdir}/" install