Skip to content
Snippets Groups Projects
Verified Commit aeed498e authored by Robin Candau's avatar Robin Candau
Browse files

upgpkg: 20.2.2-3: Initial commit

Move from the AUR
parents
No related branches found
No related tags found
No related merge requests found
.SRCINFO 0 → 100644
pkgbase = atools
pkgdesc = APKBUILD and aports linter for Alpine Linux
pkgver = 20.2.2
pkgrel = 3
url = https://gitlab.alpinelinux.org/Leo/atools
arch = x86_64
license = MIT
checkdepends = bats
makedepends = scdoc
makedepends = redo
makedepends = go
depends = lua53
depends = busybox
optdepends = abuild: Script to build Alpine Packages
source = https://gitlab.alpinelinux.org/Leo/atools/-/archive/20.2.2/atools-20.2.2.tar.gz
sha512sums = 63c95e4b86d99bd913fafe56c89dddd52e11d7bd84e138d236043133b0a7103a9de7393265c5ad387a61218c1f79a458460dca213ff0e9e9a4a65be9313e6580
pkgname = atools
[atools]
source = "git"
git = "https://gitlab.alpinelinux.org/Leo/atools.git"
PKGBUILD 0 → 100644
# Maintainer: Robin Candau <antiz@archlinux.org>
# Contributor: fossdd <fossdd@pwned.life>
pkgname=atools
pkgver=20.2.2
pkgrel=3
pkgdesc="APKBUILD and aports linter for Alpine Linux"
url="https://gitlab.alpinelinux.org/Leo/atools"
arch=("x86_64")
license=("MIT")
depends=("lua53" "busybox")
makedepends=("scdoc" "redo" "go")
checkdepends=("bats")
optdepends=("abuild: Script to build Alpine Packages")
source=("${url}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('63c95e4b86d99bd913fafe56c89dddd52e11d7bd84e138d236043133b0a7103a9de7393265c5ad387a61218c1f79a458460dca213ff0e9e9a4a65be9313e6580')
prepare() {
find -type f | while read file; do
sed -E -i "${file}" \
-e '1s|#!/usr/bin/env ash$|#!/bin/busybox ash|'
done
}
build() {
cd "${pkgname}-${pkgver}"
redo build
}
check() {
cd "${pkgname}-${pkgver}"
redo check
}
package() {
cd "${pkgname}-${pkgver}"
DESTDIR="${pkgdir}" redo install
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment