blob: 81a1d04346ea072c936dea5fc1dee56792234396 (
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.1.5'
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=('73efa5bbe26d5bee4c1dbe55e1ffcc2838164208375184449982d4671caa57009556d13e1468ff3c7f57cb6c6127688cc521ab42da8009fceb012420ae18ba7b')
_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'
}
|