summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f27ef8da5c6331d6a131d6bfa4e7a81722d4b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Jason White <jasonaw0 at gmail dot com>
pkgname=button
pkgver=0.1.1
pkgrel=1
pkgdesc="A fast, correct, and robust build system"
arch=('i686' 'x86_64')
url="https://github.com/jasonwhite/$pkgname"
license=('MIT')
depends=('sqlite' 'strace' 'button-lua')
makedepends=('dmd' 'dub')
source=("https://github.com/jasonwhite/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('0ba98e2b759e00a3628d5d99b87166e3')

build() {
    cd "$pkgname-$pkgver"
    dub build --build=release
}

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