blob: 766c334448842e29f01001a7bbfe51bb96d2abda (
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
|
# Maintainer: Tinh Truong <xuantinh at gmail dot com>
pkgname=aur-pkg-status
pkgver=0.1.0
pkgrel=7
pkgdesc="A small utility to check the status of the AUR packages installed on your ArchLinux machine"
arch=('i686' 'x86_64')
license=('MIT')
url="https://github.com/tinhtruong/aur-pkg-status/"
source=("$pkgname-$pkgver.tar.gz::https://github.com/tinhtruong/aur-pkg-status/archive/v${pkgver}.tar.gz")
sha256sums=('3c2eb8ec02036cbbefd1540227a01638ee1fe942b126fab67b877f78ecf5b09b')
makedepends=('go')
depends=('pacman')
build() {
cd "$srcdir"/aur-pkg-status-${pkgver}
export GOPATH="$(pwd):$(pwd)/vendor"
cd src/github.com/tinhtruong/aur-pkg-status
go build
}
package() {
install -Dm0755 aur-pkg-status-$pkgver/src/github.com/tinhtruong/aur-pkg-status/aur-pkg-status "$pkgdir/usr/bin/aur-pkg-status"
install -Dm0644 aur-pkg-status-$pkgver/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|