# Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=st pkgver=0.7 pkgrel=0 pkgdesc="a simple terminal implementation for X" url="http://st.suckless.org/" arch="all" license="MIT/X" depends="ncurses-terminfo" depends_dev="" makedepends="$depends_dev fontconfig-dev freetype-dev libx11-dev libxft-dev libxext-dev" install="" subpackages="$pkgname-doc" source="http://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz cleanup-cflags.patch terminfo.patch" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" make || return 1 } package() { cd "$builddir" make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 mkdir -p "$pkgdir"/usr/share/applications cat >"$pkgdir"/usr/share/applications/st.desktop <