diff options
Diffstat (limited to 'main/st/APKBUILD')
-rw-r--r-- | main/st/APKBUILD | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/main/st/APKBUILD b/main/st/APKBUILD index 2559fb670a..96eaa7712f 100644 --- a/main/st/APKBUILD +++ b/main/st/APKBUILD @@ -1,7 +1,8 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=st pkgver=0.6 -pkgrel=2 +pkgrel=3 pkgdesc="a simple terminal implementation for X" url="http://st.suckless.org/" arch="all" @@ -12,27 +13,18 @@ makedepends="$depends_dev fontconfig-dev freetype-dev libx11-dev libxft-dev libxext-dev" install="" subpackages="$pkgname-doc" -source="http://dl.suckless.org/st/st-$pkgver.tar.gz +source="http://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz + cleanup-cflags.patch terminfo.patch" -_builddir="$srcdir"/st-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - +builddir="$srcdir"/st-$pkgver build() { - cd "$_builddir" + cd "$builddir" make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 mkdir -p "$pkgdir"/usr/share/applications @@ -46,12 +38,14 @@ Type=Application Icon=gnome-xterm Categories=System;TerminalEmulator; EOF - } md5sums="1a926f450b4eacb7e2f5ac5b8ffea7c8 st-0.6.tar.gz +7b352a681fd6d8567bd286d8b4a22b39 cleanup-cflags.patch 68a69a4b8c521392aad2c1ff9b77a043 terminfo.patch" sha256sums="85310c08c3814e099b5e45888f8ac7548640e69e9973e934d4fba38b03737a2b st-0.6.tar.gz +4aed2529406dc91d19dbe2bf8563d42a73d3d6a290ea9c12e897bf3a4237c043 cleanup-cflags.patch e103aa13cebf6f85be34c38b8457f69fdd1c168618bc07d7bba1d9b2ccf8ac6c terminfo.patch" sha512sums="31e4b6d2b27d6cea79d6a31dabd7ff4e08a8ab376f06c113123810c05eab25e3964482a6429eecd65c369983cc8ee3694f367e3894ed2cc740c67738c1898d29 st-0.6.tar.gz +d2083c4e6c577d3d4190b3f2d58898b5afdfeb5160def29958cf11433c59aea4917a799f447dffcaba4a7f80c989d88f6ce96234a8afd732653bf8a871484a1e cleanup-cflags.patch 9099d7c7dc557583179ec6d630419b067297520f788df6623236822cc4b6d2288ca93d25f3ae6c9169ca2a2357e5b7955eb1c0463b01efad5ee9c2e8c5db35ee terminfo.patch" |