upgpkg: antidot 0.6.3-1

upstream release

formatting
This commit is contained in:
2024-03-23 18:10:18 +01:00
parent 1c6ff1eb27
commit 32b433d2e2
2 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
pkgbase = antidot pkgbase = antidot
pkgdesc = Cleans up your /home/harting from those pesky dotfiles pkgdesc = Cleans up your $HOME from those pesky dotfiles
pkgver = 0.6.3 pkgver = 0.6.3
pkgrel = 1 pkgrel = 1
url = https://github.com/doron-cohen/antidot url = https://github.com/doron-cohen/antidot
@@ -7,7 +7,7 @@ pkgbase = antidot
license = MIT license = MIT
makedepends = go makedepends = go
depends = glibc depends = glibc
source = https://github.com/doron-cohen/antidot/archive/refs/tags/v0.6.3.tar.gz source = antidot-0.6.3.tar.gz::https://github.com/doron-cohen/antidot/archive/refs/tags/v0.6.3.tar.gz
b2sums = d39b0f0faaf2359dc2d15244da124dfc482d8a9f82d76802facf23bec1812e100606f24e5c832815aaf9907c0d8982b93b3894d599c58443113b532fb37a672c b2sums = d39b0f0faaf2359dc2d15244da124dfc482d8a9f82d76802facf23bec1812e100606f24e5c832815aaf9907c0d8982b93b3894d599c58443113b532fb37a672c
pkgname = antidot pkgname = antidot

View File

@@ -3,22 +3,22 @@
pkgname=antidot pkgname=antidot
pkgver=0.6.3 pkgver=0.6.3
pkgrel=1 pkgrel=1
pkgdesc="Cleans up your $HOME from those pesky dotfiles" pkgdesc='Cleans up your $HOME from those pesky dotfiles'
arch=(x86_64) arch=(x86_64)
url="https://github.com/doron-cohen/$pkgname" url="https://github.com/doron-cohen/$pkgname"
license=(MIT) license=(MIT)
depends=(glibc) depends=(glibc)
makedepends=(go) makedepends=(go)
source=("https://github.com/doron-cohen/$pkgname/archive/refs/tags/v$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('d39b0f0faaf2359dc2d15244da124dfc482d8a9f82d76802facf23bec1812e100606f24e5c832815aaf9907c0d8982b93b3894d599c58443113b532fb37a672c') b2sums=('d39b0f0faaf2359dc2d15244da124dfc482d8a9f82d76802facf23bec1812e100606f24e5c832815aaf9907c0d8982b93b3894d599c58443113b532fb37a672c')
prepare(){ prepare(){
cd "$pkgname-$pkgver" cd $pkgname-$pkgver
mkdir -p build/ mkdir -p build/
} }
build() { build() {
cd "$pkgname-$pkgver" cd $pkgname-$pkgver
export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}" export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}"
@@ -28,7 +28,7 @@ build() {
} }
package() { package() {
cd "$pkgname-$pkgver" cd $pkgname-$pkgver
install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
} }