st/PKGBUILD

53 lines
1.6 KiB
Bash

# Maintainer: Jef Roosens
pkgname=jjr-st
pkgver=0.8.7
pkgrel=1
pkgdesc="My build of the st terminal"
arch=("x86_64")
url="https://git.rustybever.be/Chewing_Bever/st"
license=("MIT")
depends=("libxft")
makedepends=("clang")
provides=("st")
conflicts=("st" "st-git")
source=("arg.h" "boxdraw.c" "boxdraw_data.h" "config.def.h" "config.h"
"config.mk" "hb.c" "hb.h" "LICENSE" "Makefile" "st.1" "st.c" "st.h" "st.info"
"win.h" "x.c" "README")
md5sums=('7a0155e070d14041f69ca4466aad18bf'
'67a7923385b308ab714a66a81e2803f5'
'54322cef62604ce8c288b3d2d20f1baa'
'ce86c3890ce6cc520f7d895c44089a7e'
'a018a90da9a432abf64f53c5356cf055'
'ad217c165bd7a52f3335ded5e863c509'
'f6fcbd03c6f1013e4f592278bf96086d'
'704b67624d026f76577ce51d021ef00a'
'703e9835709f45ee7b81082277f1daec'
'84025d924d1ddf176f8dc028bc5f6453'
'bafec1da6c9f80fffd25dd5a85004b42'
'dde058f89688f3039f8d3809c7b36c5d'
'4f1e1612b1e43442b34bb0fb44254af0'
'0cbfe790d927cce15ae8e658de03f8aa'
'ab9cbb2f172fd88c3c0d8a87eb7bd666'
'cf03cbcdf728f24bb276f67dca5ed3fd'
'd344c31a3b60c2a3ba1c84b914dd2509')
build() {
make
}
package() {
local installopts='--mode 0644 -D --target-directory'
local shrdir="$pkgdir/usr/share"
local licdir="$shrdir/licenses/$pkgname"
local docdir="$shrdir/doc/$pkgname"
make PREFIX=/usr DESTDIR="$pkgdir" install
install $installopts "$licdir" "LICENSE"
install $installopts "$docdir" "README"
# install $installopts "$docdir" README.terminfo.rst
# install $installopts "$shrdir/$pkgname" "$_sourcedir/st.info"
}