st/PKGBUILD

80 lines
4.7 KiB
Bash

# Maintainer: Jef Roosens
pkgname=jjr-st
pkgver=0.8.9
pkgrel=1
pkgdesc="Chewing_Bever's personal build of the st terminal"
url="https://git.rustybever.be/Chewing_Bever/st"
license=("MIT")
arch=(
"x86_64"
"x86_64_tigerlake"
"x86_64_skylake"
"aarch64"
)
depends=("glibc" "libxft-bgra")
makedepends=("gcc")
provides=("st")
conflicts=("st" "st-git")
options=(lto)
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")
sha256sums=('1a10fac42d03b3a1231cd6998a73fb4ab4f191694628953e7229f6de2053a985'
'e8366b6b7840759157761b4d311028fa29b846f393b9e928a2587b3ac9bffdd1'
'808dbefe40e81b88da173985e1bd5c0a0d88d517b7cc1c6d68753e586ffe1698'
'49bff578b6c882123393c867689f4330d6ba7cfe85fe359ea7424b228b22970e'
'6fa7874b83e98a30e8c66c8f7d5539d1b2ec6c2267ef2c3945620826187b6b64'
'9ac98be0992996daa9b2f8a68ff425288ef67156b4195333560c8fd8ee4c4933'
'f4fae0ee42168f492ea59825928d1dbaceae5cf9e6fe2f820a429a68266000c7'
'4a133d16a818379ab849b41c30cb4b4f989a00c9b1e96907a4d130d12c36a79e'
'5c25b701b4482ccc8d5ea0770e553ad8a8c5c87650df07543b3b3f9456726d54'
'7398527a5e5cf9fd53f56dba332a2565c680058bc329c6bd08f623a813baab27'
'5b0d65d135fcc3d51f60e4fe4d86c5bbd1331266f9b38ecfb86914668c03921c'
'aa11f624de7836ecbbc1a686985b968cf52fdeaac65a2a090955e8cfc7a5745c'
'285b883ebd0884467be95562885f4cf594cd72cf7b4925476538483fe4022f39'
'2eb2f15957b8132a2d25129c24bb97f64657bd821447f36ef2cf0526b42846e8'
'c1f30d9d38828194c25fa943978a4ee766fe77294e98cea0e4fffa81756bddad'
'71386eb28230af38f55e22157e3a18c082b1be8dd25610f4b663253abc2ae799'
'f767c242485eb537f0df13cbcc182980d29152a6e25036cf65f334fb3ae8b29e')
sha512sums=('53846896087eee0242e3679e8f35be8330e5de63b0247876ac368cf13f62b03c564f99957d49c7f9a7b74cc5190a32b034955d7bf633cc2848da266d7a7f1786'
'031a4bcec190b6e8dbc64e604674f5b754ecc2a79d63f0bb1d9bfe7c79bcb17ee3f36440dd55580e5b238e5e4bf808aa0f0f65cf00072f47d8c9851df06e6489'
'19d9d5414d78d5cc59a080e7f9955e02420c1d18268299160cb4bcb156c6cb0d0cbcf16a9e20094b67cfba3b721a4bfb71223d772c37238a9390388b00eb8919'
'0dba6f78e020f6b51acbd5b19a1e6d62ce990fcbe5a0d5f49eca065cc5f4600dad1222be282c01daf08a213d16e45dcd96497ff686b1bc5cc5e8996b5cda9864'
'bf0d3f0cbeb07b7268c8e08331cb3a82ee438d8414a62233a0accc3966ff96cc37da932ab17fda9a8d560446e4e2c931bd62af0c1e8eb84447ccf48774ee92db'
'76890bc48eb13d0066cdd892e585a75f25d1fca0c1489c17e0155406b8f022db0e5bd30002a6ba3dc71a902e1dc83e926631d8dc1e1f353bdb038ab6146d6bca'
'd847eb005da53e8938379854017451fc716c15228ffccd7a75b75cbccb6259371ec233ddbdd5fefdacd28e0b5aaad41d163358732bdbefb9178678b637bf050c'
'e287b76dfd1cb6930bdc3c74a77888b6f7e2309c24bf9466c65425418dcff8e977649c71a0ca0ce8c118901d4e81c3781f60324df8394ceee12dae9c7875dc02'
'60bda0e2668626949c4d70ce338c03ce8e2d0f98544ca7053f3061111506a3d8426357253982e56140bb005b6f3a3a383086d9b58a40d4dbd79a6bee9ec2677f'
'40e82e5679efd030a6be51d454fc31607a23fedee49b00d015b1559c5cb8b5f73afb35822adfed3aa488a1985f1f1fee224c2c55eb689d91259dd085b7ea9b88'
'3e9378413277f344d46056e72c2cf19a3f68ed3175fcaa177a6a0c90d3ff6282d3cb423aa98d32fed9647d2be8cbd52b8adb6f73f87186e95d81320e90fc185d'
'768638edae6e4a07ee0a8fd5625ab31fcc0ead2c45745ea23b7340f64b9d6358d8ed23ad5072e3a476bf06dfe16c11d01a16c50876bcf44226094c31d8df366c'
'c6f08ba53ea59c74b35f889a183feca2a124d46654a6f0556fb181c3843d7d11f9174a934ce01de630c46be2caf705c9ae636f3e59f9762079c3c821652cea87'
'683b40e8d7173ec8d84e2d53454e5111f2effce0c27641e010da1bcec7ee169bfad46142e01893b5e66df87f109bc1afeb944cbae5ce56aa55bfc2544d04e87a'
'28234c79599248929c85936c68ab68f977a722069c51424ae0faa92eddd5d4bf9fc75df0f4a509704ae5b56a2be13481883d675627c4e7fd47f6320a70d259ea'
'04c7a49e50eac436f9d5935ef0b7a5166cd373134822992a31bb6fb2183b1c5a0c5d67f186b5923946ee20c453c737f9233b0be3a809cedb100cddae67a1730e'
'd345c041854864ff8c21cbc5c934d3b5dda2fc7f97eee484d8cee4f3c8671ba5f2dcecad313a199e750a2d64d4e0dfbe9a6033d0ea701c1f9d9b6753502bf72b')
build() {
make CFLAGS="$CFLAGS"
}
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