blob: 9265bfa463eed84f3141076b23d085e5e9453de6 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Yujŏnja <hardboiled65@gmail.com>
pkgname=primer
pkgver=0.4.1
pkgrel=1
epoch=
pkgdesc="C++ general purpose library collection."
arch=('x86_64')
url="https://github.com/orbitrc/primer"
license=('MIT')
groups=()
depends=('dbus')
makedepends=('rust' 'cmake')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/orbitrc/primer/archive/refs/tags/v0.4.1.tar.gz")
noextract=()
md5sums=('2f8a0395a0915b52d3868741045ad9cd')
validpgpkeys=()
#prepare() {
# cd "$pkgname-$pkgver"
# patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
#}
build() {
cd "$pkgname-$pkgver"
make
}
#check() {
# cd "$pkgname-$pkgver"
# make -k check
#}
package() {
cd "$pkgname-$pkgver"
mkdir -p "${pkgdir}/usr/lib"
make PREFIX=/usr DESTDIR="$pkgdir/" install
install -D -m 644 "$srcdir/$pkgname-$pkgver"/LICENSE "${pkgdir}"/usr/share/licenses/primer/LICENSE
}
|