summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea59b13e2da916d050aa592a5420864f4bcf5eba (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: Alisa Lain <al1-ce@null.net>

pkgname='pkm'
pkgver=1.2.1
pkgrel=1
pkgdesc='A simple wrapper for yay'
arch=('i686' 'x86_64')
url='https://github.com/al1-ce/pkm'
license=('MIT')
depends=('yay')
makedepends=('dub' 'ldc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/al1-ce/pkm/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"
}