diff options
author | Konstantin Shurukhin | 2022-11-22 09:24:07 +0300 |
---|---|---|
committer | Konstantin Shurukhin | 2022-11-22 09:24:07 +0300 |
commit | 719e70b2949378624d3e3cbd1dad27cb8aa6c96d (patch) | |
tree | 9301120f9f885a10a3a05bebfda0e1cff16f5381 | |
parent | f0d7cc0545b16e7e8049283db62a1bafc6b82fa6 (diff) | |
download | aur-719e70b2949378624d3e3cbd1dad27cb8aa6c96d.tar.gz |
Create nap package
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 42 |
3 files changed, 38 insertions, 31 deletions
@@ -1,12 +1,21 @@ pkgbase = nap-bin - pkgdesc = A fast reverse proxy client for napyy.com - pkgver = 0.2.2 + pkgdesc = Code snippet manager for your terminal + pkgver = 0.1.1 pkgrel = 1 - url = https://napyy.com + url = https://github.com/maaslalani/nap arch = x86_64 - license = Apache - source = https://o.tc.ink/ddns-nap/0.2.2/nap_linux_amd64.tar.gz - md5sums = e60d291eedd226a1dbe8fb44afa9ca73 + arch = aarch64 + arch = i686 + license = MIT + depends = pacman + depends = go + provides = nap + conflicts = nap + source_x86_64 = https://github.com/maaslalani/nap/releases/download/v0.1.1/nap_0.1.1_linux_amd64.tar.gz + sha256sums_x86_64 = 6d9ded2bfadee19a41a085c8f6cb5890efe9feaa52d0c58cba5e85635360f781 + source_aarch64 = https://github.com/maaslalani/nap/releases/download/v0.1.1/nap_0.1.1_linux_arm64.tar.gz + sha256sums_aarch64 = da7e73bcf6c898923c98d3a8b400ef1fbb17ebfe856dbab2f331eb2bfbed7ba7 + source_i686 = https://github.com/maaslalani/nap/releases/download/v0.1.1/nap_0.1.1_linux_386.tar.gz + sha256sums_i686 = 179c0d8665a6e7528949d927b6c48af8a654a55ac852e26c450f23ac0f2c9edd pkgname = nap-bin - diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO @@ -1,29 +1,23 @@ -# Maintainer: strahe <u@strahe.com> +# Maintainer: Konstantin Shurukhin <kshurukhin (at) gmail (dot) com> pkgname=nap-bin -pkgver=0.2.2 +pkgver=0.1.1 pkgrel=1 -epoch= -pkgdesc="A fast reverse proxy client for napyy.com" -arch=('x86_64') -url="https://napyy.com" -license=('Apache') -groups=() -depends=() -makedepends=() -checkdepends=() -optdepends=() -provides=() -conflicts=() -replaces=() -backup=() -options=() -install= -changelog= -source=("https://o.tc.ink/ddns-nap/$pkgver/nap_linux_amd64.tar.gz") -noextract=() -md5sums=("e60d291eedd226a1dbe8fb44afa9ca73") -validpgpkeys=() +pkgdesc='Code snippet manager for your terminal' +url='https://github.com/maaslalani/nap' +source_x86_64=("https://github.com/maaslalani/nap/releases/download/v$pkgver/nap_${pkgver}_linux_amd64.tar.gz") +source_i686=("https://github.com/maaslalani/nap/releases/download/v$pkgver/nap_${pkgver}_linux_386.tar.gz") +source_aarch64=("https://github.com/maaslalani/nap/releases/download/v$pkgver/nap_${pkgver}_linux_arm64.tar.gz") +arch=('x86_64' 'aarch64' 'i686') +license=('MIT') +depends=('pacman' 'go') +conflicts=('nap') +provides=('nap') +sha256sums_x86_64=('6d9ded2bfadee19a41a085c8f6cb5890efe9feaa52d0c58cba5e85635360f781') +sha256sums_aarch64=('da7e73bcf6c898923c98d3a8b400ef1fbb17ebfe856dbab2f331eb2bfbed7ba7') +sha256sums_i686=('179c0d8665a6e7528949d927b6c48af8a654a55ac852e26c450f23ac0f2c9edd') package() { - install -Dm755 "${srcdir}/${pkgname/-bin/}_linux_amd64/${pkgname/-bin/}" "${pkgdir}/usr/bin/${pkgname/-bin/}" + cd "$srcdir/" + + install -Dm755 nap "${pkgdir}/usr/bin/nap" } |