Olliver Schinagl ae3083a534 testing/objconv: New aport
Anger's Object file converter

Note, that the sources just say 'GPL' but one explicit link points to
the GNU site, www.gnu.org/copyleft/gpl.html which states 'GPL3'.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2021-02-28 08:34:43 +00:00

33 lines
999 B
Plaintext

# Contributor: Olliver Schinagl <oliver@schinagl.nl>
# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
pkgname="objconv"
pkgver="2.52_git20210213"
pkgrel=0
pkgdesc="Agner's Object file converter"
url="http://www.agner.org/optimize/#objconv"
arch="all"
license="GPL-3.0-or-later" # License is GPL with a link to gnu's GPL v3
options="!check" # No tests available
_commitish="42c66561231fffd39030778c1590ffb232539da3"
source="
${pkgname}-${pkgver}.tar.gz::https://github.com/gitGNU/objconv/archive/${_commitish}.tar.gz
"
builddir="${srcdir}/${pkgname}-${_commitish}"
prepare() {
default_prepare
find "${builddir}/" -type f -iname 'objconv' -delete
}
build() {
cd "${builddir}/src/"
make ${JOBS:+-j ${JOBS}} -f "../Makefile"
}
package() {
install -D -m 0755 "${builddir}/src/objconv" "${pkgdir}/usr/bin/objconv"
}
sha512sums="5f711e0655ba9d95e2df0f76cff2f375dac943f81e97a88681664fde467e658923e604b89f31a85bc924d8e8fd606b1e4fa8871e391d1f9ea8408b474fac1b8a objconv-2.52_git20210213.tar.gz"