# Maintainer of regular devtools package: Pierre Schmitz <pierre@archlinux.de>

# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
#  - patches to fix issues with how we use the tools

# "custom": Martchus <martchus@gmx.net>
#  - patches to fix issues with how I use the tools

pkgname=devtools-custom
_pkgname=devtools
pkgver=20211129
pkgrel=1
pkgdesc='Tools for Arch Linux package maintainers (patches from ALARM and custom ones)'
arch=('any')
license=('GPL')
url='https://martchus.no-ip.biz/gitea/Martchus/devtools/src/branch/custom'
conflicts=('devtools' 'devtools-alarm')
provides=('devtools' 'devtools-alarm')
depends=('bash' 'openssh' 'subversion' 'rsync' 'arch-install-scripts'
         'git' 'bzr' 'mercurial' 'diffutils' 'util-linux' 'awk')
makedepends=('asciidoc')
optdepends=('btrfs-progs: btrfs support')
source=("git+https://martchus.no-ip.biz/gitea/Martchus/$_pkgname.git#branch=custom-$pkgver")
md5sums=('SKIP')

build() {
  cd "$srcdir/${_pkgname}"
  make PREFIX=/usr
}

package() {
  cd "$srcdir/${_pkgname}"
  make PREFIX=/usr DESTDIR="${pkgdir}" install
}
