1 # Maintainer: Alexandre Bique <bique.alexandre@gmail.com>
6 pkgdesc="State-Threads fibers library"
8 url="http://state-threads.sourceforge.net/index.html"
10 source=(http://sourceforge.net/projects/state-threads/files/state-threads/${pkgver}/st-${pkgver}.tar.gz)
11 md5sums=('79337c43268f6445cadec7b59a004cca')
14 cd "${srcdir}/st-${pkgver}"
16 make -j1 linux-optimized
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/"