aboutsummaryrefslogtreecommitdiffstats
path: root/testing/st-xrdb/APKBUILD
blob: 568739b368fece3e11051786c5cdd7eef317c000 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Base-Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Base-Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=st-xrdb
pkgname_base=st
pkgver=0.8.2
pkgrel=0
pkgdesc="Simple terminal emulator for X, with X resource support"
url="https://st.suckless.org"
arch="all"
license="MIT"
depends="ncurses-terminfo"
makedepends="fontconfig-dev freetype-dev libx11-dev libxext-dev libxft-dev"
subpackages="$pkgname-doc $pkgname-dbg"
source="https://dl.suckless.org/$pkgname_base/$pkgname_base-$pkgver.tar.gz st-xrdb.patch"
options="!check"
builddir="$srcdir/$pkgname_base-$pkgver"

prepare() {
	default_prepare
	cd "$builddir"
	sed -i '/tic/d' Makefile
}

build() {
	make -C "$builddir"
}

package() {
	cd "$builddir"

	make install PREFIX=/usr DESTDIR="$pkgdir"
}

sha512sums="eaaf5f2fe050ee768d16a9c8c295ba13315775b3a8a3201e020237a3dd217bfb811832d58477249000596289a6cb3287fbb39d6327fc90986af1c363e4b5bf8d  st-0.8.2.tar.gz
1b21e819d187eb186f940d92dd9055de5259bf18bc9c798b10884fde949ff3ab6b9ecf428c85ccd0bc0e20ddf42cc9d015535b36deb839a616d25ae2a047fe27  st-xrdb.patch"