blob: b9c6dd923d733944d7650f72e1dc3cc6f6cc27d0 (
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
29
|
# Maintainer: Colin Wallace <wallacoloo@gmail.com>
pkgname=sparrow3d-git
pkgver=820.143acbc
pkgrel=1
pkgdesc='A software renderer for different open handhelds like the gp2x, wiz, caanoo and pandora'
provides=('sparrow3d')
arch=('any')
url='https://github.com/theZiz/sparrow3d'
license=('LGPL')
depends=()
makedepends=('git')
source=("git+https://github.com/theZiz/sparrow3d.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir"/sparrow3d
echo $(git rev-list --count master).$(git rev-parse --short master)
}
package() {
cd "$srcdir"/sparrow3d
make dynamic
mkdir -p "$pkgdir"/usr/{lib,include}
# Copy SOs
cp "$srcdir"/sparrow3d/{libsparrow3d.so,libsparrowNet.so,libsparrowSound.so} "$pkgdir"/usr/lib
# Copy library header files
cp "$srcdir"/sparrow3d/sparrow*.h "$pkgdir"/usr/include
}
|