blob: 1d025df8c7a2ae56c364153ce58bcd5a6cb761e7 (
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
|
# Maintainer: Daniel Peukert <daniel@peukert.cc>
pkgname='salvador'
pkgver='3.2.0'
pkgrel='1'
pkgdesc='A bash script that will help you maintain your AUR packages'
arch=('any')
url="https://gitlab.com/dpeukert/$pkgname"
license=('GPL-3.0-or-later')
depends=('git' 'pacman-contrib' 'perl')
optdepends=(
'curl: nvchecker functionality'
'jq: nvchecker functionality'
'nvchecker: nvchecker functionality'
)
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
b2sums=('aaa1a9d3dfe3465b9f3f7e99c7546c30bc32f3d7f4ab70cf3bf1b01b587c959d81667d51748928ada0fa96f0664d9272272c9d380834bec439b20c77a21776b0')
_sourcedirectory="$pkgname-$pkgver"
check() {
_checkoutput="$("$srcdir/$_sourcedirectory/$pkgname.sh" version)"
printf '%s\n' "$_checkoutput"
printf '%s\n' "$_checkoutput" | grep -q "^$pkgver$"
}
package() {
cd "$srcdir/$_sourcedirectory/"
make install DESTDIR="$pkgdir" PREFIX='/usr'
}
|