blob: a9c9e92790c2d514493b56a9cc78553be58110df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=devtools32-git
_pkgname=devtools
pkgver=20221208.r96.gbae5142
pkgrel=1
pkgdesc='Tools for Arch Linux package maintainers'
arch=('any')
license=('GPL')
url='https://github.com/archlinux32/devtools32'
depends=('bash' 'openssh' 'subversion' 'rsync' 'arch-install-scripts'
'git' 'bzr' 'mercurial' 'diffutils' 'util-linux' 'awk')
makedepends=('asciidoc' 'git')
optdepends=('btrfs-progs: btrfs support')
provides=($_pkgname=${pkgver%%.r*})
conflicts=($_pkgname)
source=("$pkgname::git+https://git.archlinux32.org/archlinux32/devtools32")
source=("$pkgname::git+https://git.archlinux32.org/devtools32")
sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --long --tags | sed -E 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,-,.,g'
}
build() {
cd ${pkgname}
make BUILDTOOLVER="${pkgver}-${pkgrel}-${arch}" PREFIX=/usr
}
package() {
cd ${pkgname}
make PREFIX=/usr DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et:
|