blob: 1787d128f3f43267b001f9451e48cf1ea72f62dc (
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
|
# Maintainer: Emily <info@emy.sh>
pkgname=nspire-tools-git
provides=('nspire-tools-git')
pkgver=r3.2a92cf2
pkgrel=1
pkgdesc="The Swiss Army Knife for Ti-NSpire"
arch=('any')
url="https://github.com/EmilyCSh/nspire-tools"
license=('MPL-2.0')
depends=('liblphobos' 'libnspire-git')
makedepends=('dub' 'ldc')
source=(
"git+https://github.com/EmilyCSh/nspire-tools.git"
)
sha1sums=(
'SKIP'
)
pkgver()
{
cd $srcdir/nspire-tools
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build ()
{
cd $srcdir/nspire-tools
dub build --force --compiler=ldc -b release
}
package ()
{
mkdir -p $pkgdir/usr/bin
install -m755 $srcdir/nspire-tools/nspire-tools $pkgdir/usr/bin/nspire-tools
ln -sr $pkgdir/usr/bin/nspire-tools $pkgdir/usr/bin/nspire-filemanager
ln -sr $pkgdir/usr/bin/nspire-tools $pkgdir/usr/bin/nspire-updater
ln -sr $pkgdir/usr/bin/nspire-tools $pkgdir/usr/bin/nspire-info
}
|