blob: 7e1c97f56e333cabdcb3fc32dd486ec329847e76 (
plain)
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
37
38
39
40
41
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=st
pkgver=0.8
pkgrel=0
pkgdesc="Simple terminal emulator for X"
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="http://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
sed -i '/tic/d' "$builddir"/Makefile
}
build() {
make -C "$builddir"
}
package() {
cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/applications
cat >"$pkgdir"/usr/share/applications/st.desktop <<EOF
[Desktop Entry]
Name=st
Comment=st is a simple virtual terminal emulator for X which sucks less
Exec=st
Terminal=false
Type=Application
Icon=gnome-xterm
Categories=System;TerminalEmulator;
EOF
}
sha512sums="47af80560f3bd803719b83e95affcb5425fed419fa4703dbd66ee2080f6671597aaba8110f3f7959190e8c3e2b02c62edf062fab950b2649f1d8c532c183de84 st-0.8.tar.gz"
|