st/PKGBUILD

60 lines
2.3 KiB
Bash
Raw Normal View History

2022-01-02 10:39:19 +01:00
# Maintainer: Jef Roosens
pkgname=jjr-st
2022-03-19 17:30:21 +01:00
pkgver=0.8.8
2022-04-09 11:28:37 +02:00
pkgrel=2
2022-01-02 10:39:19 +01:00
pkgdesc="My build of the st terminal"
arch=(
"x86_64"
"x86_64_tigerlake"
"x86_64_skylake"
"aarch64"
)
2022-01-02 10:39:19 +01:00
url="https://git.rustybever.be/Chewing_Bever/st"
license=("MIT")
2022-04-09 11:28:37 +02:00
depends=("glibc" "libxft-bgra")
2022-03-05 10:32:11 +01:00
makedepends=("gcc")
2022-01-02 10:39:19 +01:00
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")
2022-03-05 10:34:38 +01:00
sha256sums=('1a10fac42d03b3a1231cd6998a73fb4ab4f191694628953e7229f6de2053a985'
'e8366b6b7840759157761b4d311028fa29b846f393b9e928a2587b3ac9bffdd1'
'808dbefe40e81b88da173985e1bd5c0a0d88d517b7cc1c6d68753e586ffe1698'
'49bff578b6c882123393c867689f4330d6ba7cfe85fe359ea7424b228b22970e'
'6fa7874b83e98a30e8c66c8f7d5539d1b2ec6c2267ef2c3945620826187b6b64'
2022-03-19 17:30:21 +01:00
'86613a3c3bd74fc44d364a4e611db1d93674b85351d2453e49a89e86304a1472'
2022-03-05 10:34:38 +01:00
'f4fae0ee42168f492ea59825928d1dbaceae5cf9e6fe2f820a429a68266000c7'
'4a133d16a818379ab849b41c30cb4b4f989a00c9b1e96907a4d130d12c36a79e'
'5c25b701b4482ccc8d5ea0770e553ad8a8c5c87650df07543b3b3f9456726d54'
'7398527a5e5cf9fd53f56dba332a2565c680058bc329c6bd08f623a813baab27'
'5b0d65d135fcc3d51f60e4fe4d86c5bbd1331266f9b38ecfb86914668c03921c'
2022-03-19 17:30:21 +01:00
'517dcc181f40aeb62ec35bcab0e7e51fd5a16d37331667c4dc9de68faf20a7a9'
2022-03-05 10:34:38 +01:00
'285b883ebd0884467be95562885f4cf594cd72cf7b4925476538483fe4022f39'
'2eb2f15957b8132a2d25129c24bb97f64657bd821447f36ef2cf0526b42846e8'
'd30e818fb119a94f23aac1684f7c50bc1cd49cd3364472e0d17d195ecdcd9240'
'71386eb28230af38f55e22157e3a18c082b1be8dd25610f4b663253abc2ae799'
'f767c242485eb537f0df13cbcc182980d29152a6e25036cf65f334fb3ae8b29e')
2022-01-02 10:39:19 +01:00
build() {
make CFLAGS="$CFLAGS"
2022-01-02 10:39:19 +01:00
}
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"
}
# vim: ft=bash