mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-20 23:32:47 +01:00
43 lines
961 B
Plaintext
43 lines
961 B
Plaintext
# Contributor: rubicon <rubicon@mailo.com>
|
|
# Maintainer: rubicon <rubicon@mailo.com>
|
|
pkgname=txr
|
|
pkgver=274
|
|
pkgrel=0
|
|
pkgdesc="Programming language for convenient data munging"
|
|
url="https://www.nongnu.org/txr/"
|
|
# s390x: ftbfs
|
|
# armv7: runtime error
|
|
# armhf: core dumped
|
|
# riscv64: ftbfs
|
|
arch="all !s390x !armv7 !armhf !riscv64"
|
|
license="BSD-2-Clause"
|
|
makedepends="libffi-dev"
|
|
subpackages="$pkgname-doc $pkgname-vim::noarch"
|
|
source="https://www.kylheku.com/cgit/txr/snapshot/txr-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make tests
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
vim() {
|
|
pkgdesc="Vim syntax for $pkgname"
|
|
depends=""
|
|
install_if="$pkgname=$pkgver-r$pkgrel vim"
|
|
|
|
install -Dvm644 "$builddir"/*.vim \
|
|
-t "$subpkgdir"/usr/share/vim/vimfiles/syntax/
|
|
}
|
|
|
|
sha512sums="
|
|
7173903096eb256d6b010aee503413c41d9c5c9b06c51db4c54add96ea9a19e5860154e105109876a00977c820f32cb1caa810e19f06bd5e09d31a786b5cfb62 txr-274.tar.gz
|
|
"
|