# Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=st pkgver=0.6 pkgrel=3 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"/st-$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 <