blob: 21a7117916efe57f69a040905ff7f454305f54d2 (
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
|
# Maintainer: Konstantinos Foutzopoulos <mail@konfou.xyz>
pkgname=xs-git
pkgver=r1849.789540c
pkgrel=1
pkgdesc="An extensible shell descended from es and rc. (GIT version)"
arch=('x86_64' 'i686')
url="https://github.com/TieDyedDevil/XS"
license=('custom')
depends=('boost' 'libffi' 'gc')
makedepends=('git' 'meson' 'ninja')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
source=("${pkgname}::git+$url")
md5sums=('SKIP')
install=xs.install
pkgver() {
cd $srcdir/$pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $srcdir/$pkgname
meson --prefix /usr --buildtype release build
ninja -C build
}
package() {
cd $srcdir/$pkgname
install -D -m644 "doc/COPYING" "$pkgdir/usr/share/licenses/${pkgname%-*}/COPYING"
DESTDIR=$pkgdir ninja -C build install
}
|