diff options
author | Justin Gassner <justin.gassner@mailbox.org> | 2020-07-10 01:52:30 +0200 |
---|---|---|
committer | Justin Gassner <justin.gassner@mailbox.org> | 2020-07-10 01:57:25 +0200 |
commit | 396eb1d3a1afdc07ee3fe2a37b5ee53493b96683 (patch) | |
tree | 535b7b9003fb2d18aeac2f031553734033f1baf8 /st/PKGBUILD | |
parent | 4813d706f0337706f225304f41e8d790564ba085 (diff) | |
download | packages-396eb1d3a1afdc07ee3fe2a37b5ee53493b96683.tar.zst |
suckless: build config moved to the respective repos
Diffstat (limited to 'st/PKGBUILD')
-rw-r--r-- | st/PKGBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/st/PKGBUILD b/st/PKGBUILD index a4c6840..b51766b 100644 --- a/st/PKGBUILD +++ b/st/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=st pkgname=$_pkgname-jxir -pkgver=0.8.2.r24.g7e5b23e +pkgver=0.8.4.r10.ge290ec4 pkgrel=1 pkgdesc='A simple virtual terminal emulator for X' arch=('x86_64') @@ -25,19 +25,16 @@ prepare() { for branch in no-bold-colors solarized-dark scrollback config; do git merge --no-edit origin/$branch done - echo "CPPFLAGS+=${CPPFLAGS}" >> config.mk - echo "CFLAGS+=${CFLAGS}" >> config.mk - echo "LDFLAGS+=${LDFLAGS}" >> config.mk } build() { cd "$_pkgname" - make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 + make } package() { cd "$_pkgname" - make PREFIX=/usr DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" install -Dm644 README -t "$pkgdir/usr/share/doc/$_pkgname" } |