blob: 07b42be4d2e4b1374c828e1d4f541bbeb020d7db (
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: Randoragon <randoragongamedev@gmail.com>
pkgname=libstaple
pkgver=2.0.2
pkgrel=1
epoch=
pkgdesc="A general-purpose data structure library in pure C89"
arch=('x86_64' 'i686' 'pentium4')
url="https://github.com/Randoragon/libstaple"
license=('LGPL2.1')
depends=()
makedepends=(git)
source=("git+$url")
md5sums=('SKIP')
provides=()
build() {
cd libstaple
git checkout --quiet tags/v"${pkgver}"
make
}
package() {
cd libstaple
git checkout --quiet tags/v"${pkgver}"
make DESTDIR="$pkgdir" PREFIX=/usr install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/license.txt"
install -Dm644 README.MD "$pkgdir/usr/share/doc/$pkgname/README.MD"
}
|