blob: b11430e7de1990630fb4b8d1c1e4755ad233cc5d (
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
|
# Maintainer: Charles Langlois <contact at charleslanglois dot dev>
pkgname='exfetch'
pkgver=1.5.3
pkgrel=1
pkgdesc='shell extensible fetching program written in Crystal'
arch=("x86_64")
url='https://codeberg.org/Izder456/exfetch'
license=('ISC')
depends=('zlib' 'glibc' 'gcc-libs' 'pcre2' 'gc')
makedepends=('git' 'crystal' 'shards' )
source=("exfetch::git+${url}.git#tag=${pkgver}" "git+https://github.com/schovi/baked_file_system.git")
sha256sums=('135d410063f4acade123863530e0ea034050e29d147c1445fc2b4d530554ab1a'
'SKIP')
provides=('exfetch')
prepare() {
cd "${pkgname}"
git submodule init
git config submodule.lib/baked_file_system.url "$srcdir/baked_file_system"
git -c protocol.file.allow=always submodule update
}
build() {
cd "${pkgname}"
# make STATIC=on MULTITHREADED=on
make HARDENING=on
}
check() {
cd "${pkgname}"
make test
}
package() {
cd "${pkgname}"
DESTDIR=${pkgdir} PREFIX=/usr make install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|