blob: b6446847a03fccf0c36af0b89c6a169bb6cfffd5 (
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: Oleg 'x0r3d' Sazonov <whitylmn@gmail.com>
pkgname=goaur
pkgver=1.4
pkgrel=1
pkgdesc="Very-very simple AUR helper"
arch=(x86_64 i686 arm armv6h armv7h aarch64)
url="https://github.com/x0r3d/goaur"
makedepends=(go)
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.github.com/x0r3d/${pkgname}/tar.gz/${pkgver}")
depends=("glibc")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
go build \
-gcflags "all=-trimpath=${PWD}" \
-asmflags "all=-trimpath=${PWD}" \
-ldflags "-extldflags ${LDFLAGS}" \
-buildmode=pie
strip -s goaur
}
package() {
install -Dm755 "${srcdir}"/${pkgname}-${pkgver}/goaur "${pkgdir}"/usr/bin/goaur
}
md5sums=('8c8069649501169d2c0c8b59655e27a8')
|