makedeb
A CLI for the makedeb Package Repository
Viewing /PKGBUILD
.
Click here to go back to the Git tree for mpr.
# Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>
# vim: set sw=2 expandtab:
pkgname=mpr
pkgver=0.1.4
pkgrel=1
pkgdesc='A CLI for the makedeb Package Repository'
arch=(amd64 arm64 i386)
makedepends=(golang-go make)
license=(MIT)
url='https://github.com/jrop/mpr-cli'
source=("https://github.com/jrop/mpr-cli/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('12d2d35221b1cf66d7b22801ce7c2972e696db16e3f3620b04d777f7533e7d3f')
build() {
cd "$pkgname-cli-$pkgver/"
make
}
package() {
cd "$pkgname-cli-$pkgver/"
install -D build/mpr "$pkgdir/usr/bin/mpr"
install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}