diff options
author | Nicolas Karolak | 2022-10-29 13:18:52 +0200 |
---|---|---|
committer | Nicolas Karolak | 2022-10-29 13:18:52 +0200 |
commit | 2b9a28b9eed0ce7b7b32e888f41ec756dae2950c (patch) | |
tree | bf56f04e3bb45465f815def54a0896d47550ce11 | |
parent | 26ab0985098fcd8a028d69171b6b27b1bd17738c (diff) | |
download | aur-2b9a28b9eed0ce7b7b32e888f41ec756dae2950c.tar.gz |
update version
-rw-r--r-- | Makefile | 37 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 42 insertions, 7 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 000000000000..b65a8998766d --- /dev/null +++ b/Makefile @@ -0,0 +1,37 @@ +.PHONY: all +all: + +.PHONY: build +## build: Build package +build: + @echo "Building..." + @makepkg --syncdeps --rmdeps + +.PHONY: install +## install: Install package +install: + @echo "Installing..." + @makepkg --syncdeps --install --rmdeps + +.PHONY: sum +## sum: Generate sums +sum: + @makepkg --geninteg + +.PHONY: srcinfo +## srcinfo: Update the .SRCINFO file +srcinfo: + @echo "Updating srcinfo..." + @makepkg --printsrcinfo >| .SRCINFO + +.PHONY: clean +## clean: Clean up build artifacts +clean: + @echo "Cleaning..." + @rm -rf devc-* pkg/ src/ + +.PHONY: help +## help: Prints this help message +help: + @echo -e "Usage: \n" + @sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /' @@ -1,7 +1,7 @@ # Maintainer: Nicolas KAROLAK <nicolas at karolak dot fr> pkgname=devc -_pkgver=1.0.0-alpha.4 +_pkgver=1.0.0-beta.7 pkgver=${_pkgver//-/.} pkgrel=1 pkgdesc="A CLI tool to manage your devcontainers" @@ -15,17 +15,15 @@ makedepends=( 'go' ) provides=('devc') -conflicts=('devc' 'devc-bin') +conflicts=('devc' 'devc-bin' 'devc-git') source=("$pkgname-v$pkgver.tar.gz::https://github.com/nikaro/$pkgname/archive/refs/tags/v$_pkgver.tar.gz") -sha256sums=("16e4ab7d9b4f445892745905a32d3b8f50b909b3a95f0c0af81c4e5e40e08b81") +sha256sums=('7e4d84e491a982ab6eb3b438352f86c82e4ba44aac85dd6d1ba29ba2fe03fb1a') build() { - cd "$srcdir/$pkgname-$_pkgver" - make + make -C "$srcdir/$pkgname-$_pkgver" } package() { - cd "$srcdir/$pkgname-$_pkgver" - make DESTDIR="$pkgdir" PREFIX="/usr" install + make -C "$srcdir/$pkgname-$_pkgver" DESTDIR="$pkgdir" PREFIX="/usr" install } |