blob: eb673b5a813e3266df892a61c1de652fa5699376 (
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
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Tinu Weber <http://ayekat.ch>
pkgname=makemetapkg
pkgver=0.9.6
pkgrel=1
arch=(any)
pkgdesc='Create meta-packages for pacman'
url='https://gitlab.com/ayekat/pacman-hacks'
license=(GPL3)
# Both are part of pacman-hacks. If you want both makemetapkg and remakepkg,
# just install pacman-hacks:
# https://gitlab.com/ayekat/PKGBUILDs/tree/pacman-hacks
conflicts=(remakepkg)
depends=(coreutils)
makedepends=(asciidoc git)
changelog='CHANGELOG'
source=("git+https://gitlab.com/ayekat/pacman-hacks.git#tag=v$pkgver")
sha256sums=(SKIP)
_tools='makemetapkg metapkg'
build() {
cd pacman-hacks
make \
PREFIX=/usr \
SCRIPTS="$_tools" \
MANPAGES="$_tools"
}
package() {
depends+=(bash fakeroot pacman sed sh)
cd pacman-hacks
make \
PREFIX=/usr \
DESTDIR="$pkgdir" \
SCRIPTS="$_tools" \
MANPAGES="$_tools" \
install
install -Dm 0644 README "$pkgdir"/usr/share/doc/remakepkg/README
install -Dm 0644 CHANGELOG "$pkgdir"/usr/share/doc/remakepkg/CHANGELOG
}
|