summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cfd20f0ce337eace322da259b762ef1e6e9ba9bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Alisa Lain <al1-ce@null.net>

pkgname='backpack'
pkgver=1.0.1
pkgrel=1
pkgdesc='Git based backup tool'
arch=('i686' 'x86_64')
url='https://github.com/al1-ce/backpack'
license=('MIT')
makedepends=('dub' 'ldc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/al1-ce/backpack/archive/v$pkgver.tar.gz")
md5sums=('SKIP')
validpgpkeys=()

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    dub build -b release -c default
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    install -Dm755 bin/$pkgname "$pkgdir/usr/bin/$pkgname"
}