updated on Fri Jan 20 16:18:17 UTC 2012
[aur-mirror.git] / libst / PKGBUILD
blob7998a69e4631726dd5789734d06b1dbe83d944d4
1 # Maintainer: Alexandre Bique <bique.alexandre@gmail.com>
3 pkgname=libst
4 pkgver=1.9
5 pkgrel=2
6 pkgdesc="State-Threads fibers library"
7 arch=('i686' 'x86_64')
8 url="http://state-threads.sourceforge.net/index.html"
9 license=('GPL')
10 source=(http://sourceforge.net/projects/state-threads/files/state-threads/${pkgver}/st-${pkgver}.tar.gz)
11 md5sums=('79337c43268f6445cadec7b59a004cca')
13 build() {
14   cd "${srcdir}/st-${pkgver}"
16   make -j1 linux-optimized
19 package() {
20   cd "${srcdir}/st-${pkgver}"
22   mkdir -p "${pkgdir}"/usr/{include,lib}
24   mv obj/st.h    "${pkgdir}/usr/include/"
25   mv obj/libst.* "${pkgdir}/usr/lib/"