27 lines
868 B
Bash
27 lines
868 B
Bash
# Maintainer: Erich Gubler <erichdongubler@gmail.com>
|
|
|
|
pkgname=moreutils
|
|
pkgver=0.70
|
|
pkgrel=1
|
|
pkgdesc="A growing collection of the unix tools that nobody thought to write thirty years ago"
|
|
arch=('i686' 'x86_64')
|
|
url="https://joeyh.name/code/moreutils/"
|
|
msys2_repository_url='https://git.joeyh.name/index.cgi/moreutils.git'
|
|
license=('GPL2')
|
|
makedepends=('docbook-xml' 'git' 'make' 'gcc' 'docbook-xsl')
|
|
source=("git+https://git.joeyh.name/git/moreutils.git#tag=${pkgver}")
|
|
sha256sums=('f184bcb509dace3c0d1d61dc7c9c951c72a6ff8bac6f8f275a648ec9ffa0e926')
|
|
|
|
build() {
|
|
cd "${srcdir}"/${pkgname}
|
|
make DOCBOOKXSL="$(ls -d /usr/share/xml/docbook/xsl-stylesheets-* | tail --lines=1)"
|
|
rename .exe '' *.exe
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/${pkgname}
|
|
make PREFIX="${pkgdir}"/usr install
|
|
# Conflict with parallel package
|
|
rm -f "${pkgdir}"/usr/share/man/man1/parallel.1
|
|
}
|