blob: 2086fa95c6f84fb968ed74766da07f90a491205c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
pkgname=stlsplit
pkgver=1.2
pkgrel=1
pkgdesc="Split STL file to more files - one shell each"
arch=('i686' 'x86_64')
url="https://github.com/admesh/stlsplit/"
license=('GPL3')
depends=('gcc-libs' 'admesh')
makedepends=('premake')
source=("https://github.com/admesh/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('95e037365bf695405274620fe8edab5e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
premake5 gmake
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
install -Dm755 -t ${pkgdir}/usr/bin build/stlsplit
install -Dm755 -t ${pkgdir}/usr/lib build/libstlsplit.so.1
install -Dm644 -t ${pkgdir}/usr/include stlsplit.h
ln -s libstlsplit.so.1 ${pkgdir}/usr/lib/libstlsplit.so
}
# vim:set ts=2 sw=2 et:
|