mirror of
https://github.com/luzifer-aur/reg.git
synced 2024-11-09 14:20:09 +00:00
Initial commit: working package
This commit is contained in:
commit
6677e8d4c7
3 changed files with 58 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
pkgbase = reg
|
||||||
|
pkgdesc = Docker registry v2 command line client
|
||||||
|
pkgver = 0.13.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/genuinetools/reg
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
source = https://github.com/genuinetools/reg/releases/download/v0.13.0/reg-linux-amd64
|
||||||
|
source = https://raw.githubusercontent.com/genuinetools/reg/master/LICENSE
|
||||||
|
md5sums = 88b90e7d3d7ac99c880cf3c804440d15
|
||||||
|
md5sums = 48ef0979a2bcc3fae14ff30b8a7f5dbf
|
||||||
|
|
||||||
|
pkgname = reg
|
||||||
|
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
reg-linux-amd64
|
||||||
|
reg-*x86_64.pkg.tar.xz
|
||||||
|
LICENSE
|
41
PKGBUILD
Normal file
41
PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# Maintainer: Siôn le Roux <sinisterstuf@gmail.com>
|
||||||
|
pkgname=reg
|
||||||
|
_pkgname=reg-linux-amd64
|
||||||
|
pkgver=0.13.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Docker registry v2 command line client"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/genuinetools/${pkgname}"
|
||||||
|
license=('MIT')
|
||||||
|
groups=()
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
provides=()
|
||||||
|
conflicts=()
|
||||||
|
replaces=()
|
||||||
|
backup=()
|
||||||
|
options=()
|
||||||
|
install=
|
||||||
|
source=(
|
||||||
|
"https://github.com/genuinetools/${pkgname}/releases/download/v${pkgver}/${_pkgname}"
|
||||||
|
"https://raw.githubusercontent.com/genuinetools/${pkgname}/master/LICENSE"
|
||||||
|
)
|
||||||
|
md5sums=(
|
||||||
|
'88b90e7d3d7ac99c880cf3c804440d15'
|
||||||
|
'48ef0979a2bcc3fae14ff30b8a7f5dbf'
|
||||||
|
)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
# make binary executable
|
||||||
|
chmod +x "${srcdir}/${_pkgname}"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p "${pkgdir}/usr/bin/"
|
||||||
|
cp "${srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
||||||
|
|
||||||
|
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
cp "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue