aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zile/APKBUILD
blob: 5999a9319d6712daa7d579991ed7143c8adeafc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Jose Maria Garcia <josemaria.alkala@gmail.com>
# Maintainer: Jose Maria Garcia <josemaria.alkala@gmail.com>
pkgname=zile
pkgver=2.4.14
pkgrel=0
pkgdesc="GNU Zile is a text editor development kit."
url="https://www.gnu.org/software/zile"
arch="all"
license="GPL3"
depends=""
makedepends="ncurses-dev gc-dev perl help2man"
install=""
subpackages="${pkgname}-doc"
source="https://ftp.gnu.org/gnu/zile/${pkgname}-${pkgver}.tar.gz"
builddir="$srcdir/${pkgname}-${pkgver}"

build() {
        cd "$builddir"
        ./configure \
                --prefix=/usr \
                --sysconfdir=/etc \
                --mandir=/usr/share/man \
                --localstatedir=/var
        make
}

package() {
        cd "$builddir"
        make DESTDIR="$pkgdir" install
        rm -f "$pkgdir"/usr/lib/charset.alias
}

sha512sums="0dea56fd13a82015ec73de3139a4b2c27ad4c001ed535f1bae557ee49f9d8a188610a08160998d0a36b95fec42b46a019fd43634ef6502ebd27e162164de98cc  zile-2.4.14.tar.gz"