summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4471f3779ce4120c03030a00d5464d3db4f3a620 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Maintainer: Michael Picht <mipi@fsfe.org> 
 
pkgname=crema
pkgver=2.1.2
pkgrel=1
pkgdesc="Manage (remote) custom repositories"          
arch=(any) 
url="https://gitlab.com/mipimipi/$pkgname"  
license=(GPL3) 
source=("${pkgname}-${pkgver}.tar.gz::${url}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")         
md5sums=(SKIP) 
validpgpkeys=(11ECD6695134183B3E7AF1C2223AAA374A1D59CE) # Michael Picht <mipi@fsfe.org>
depends=( 
    binutils 
    devtools
    rsync
    sudo
) 
makedepends=(
    make
    pandoc
) 
optdepends=(gnupg) 
provides=(crema)
conflicts=(crema-git)
 
# aurutils 
conflicts+=( 
    aurutils 
    aurutils-git 
) 
depends+=( 
    git 
    jq 
    pacutils 
    parallel 
    wget 
) 
makedepends+=(m4)
optdepends+=( 
    "bash-completion: bash completion" 
    "devtools: aur-chroot" 
    "vifm: build file interaction" 
) 
 
build() { 
    cd "${pkgname}-${pkgver}"
    make

    # aurutils 
    cd aurutils
    make DESTDIR="$pkgdir" 
} 
 
package() { 
  cd "${pkgname}-${pkgver}"
  make DESTDIR="$pkgdir" install 
 
  # aurutils 
  cd aurutils 
  make DESTDIR="$pkgdir" install 
}