blob: 93e3c81c8cd47ea52548022ddedcf6b8c4496985 (
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
|
# Maintainer: Aspenini <aspeninifeltner@gmail.com>
pkgname=aurpush
pkgver=0.3.0
pkgrel=1
pkgdesc="CLI for maintaining and publishing Arch Linux packages to the AUR"
arch=('x86_64')
url="https://github.com/Aspenini/aurpush"
license=('MIT')
depends=(
'git'
'openssh'
'pacman'
'gcc-libs'
)
makedepends=('xmake')
options=('!debug')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('SKIP')
build() {
cd "$pkgname-$pkgver"
xmake config -y -P . -m release
xmake -y -P .
}
package() {
cd "$pkgname-$pkgver"
xmake install -y -P . \
--root \
--headers=n \
--libraries=n \
-o "$pkgdir/usr" \
aurpush
install -Dm644 LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|