blob: 28dcf065ec28b0f7411866404ea81caf93566db0 (
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
|
# Maintainer: picokan <todaysoracle@protonmail.com>
pkgname=st-sane-defaults
_pkgname=st
pkgver=0.8.2
pkgrel=3
pkgdesc='A simple terminal emulator, with configurations fit for the average user.'
arch=('i686' 'x86_64' 'armv7h')
license=('MIT')
depends=(libxft)
url=https://st.suckless.org
source=(https://dl.suckless.org/$_pkgname/$_pkgname-$pkgver.tar.gz
sane-defaults-patch.diff
st-sane-defaults.desktop)
sha256sums=('aeb74e10aa11ed364e1bcc635a81a523119093e63befd2f231f8b0705b15bf35'
'15fa8e3fd172bc25ea52d3532ac01edb88877c9af2cb8de140d178507ac9c552'
'17924fbac300031b0f8b0bbbf85d18c4637a78e7260350714d4062d64783d46d')
provides=("st")
conflicts=("st")
prepare() {
patch -d "$srcdir/$_pkgname-$pkgver" < sane-defaults-patch.diff
}
build() {
cd $srcdir/$_pkgname-$pkgver
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
install -Dm644 st.info $pkgdir/usr/share/$pkgname/st.info
cd ..
install -Dm644 st-sane-defaults.desktop $pkgdir/usr/share/applications/st-sane-defaults.desktop
}
|