summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bd629479b9b54735be1041b2ba66dabab079d824 (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
# Maintainer: Victor Golovanenko <drygdryg2014 at yandex dot com>

pkgname=wpspin
pkgver=0.5.1
pkgrel=2
pkgdesc="WPS PIN generator"
arch=('x86_64' 'i686' 'pentium4' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/drygdryg/wpspin-nim"
license=('MIT')
makedepends=('nim>=0.20.0' 'nimble' 'git')
provides=('wpspin')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/drygdryg/wpspin-nim/archive/${pkgver}.tar.gz")
md5sums=('f6a763e0c71d583a822103f2f7aa1058')

build() {
    cd "wpspin-nim-${pkgver}"
    make -s
}

package() {
    cd "wpspin-nim-${pkgver}"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    make DESTDIR=${pkgdir} install
}