Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=yay
- pkgver=10.0.1
- pkgrel=1
- pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
- arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
- url="https://github.com/Jguer/yay"
- license=('GPL')
- depends=(
- 'libalpm.so>=12'
- 'sudo'
- 'git'
- )
- makedepends=(
- 'go'
- )
- source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
- sha256sums=('010c1864a9f5ad790c25a98cf57b41a0f6e6cb1be75297056f25d6814b2aeb0d')
- build() {
- cd "$pkgname-$pkgver"
- LDFLAGS="-linkmode external -extldflags \"${LDFLAGS}\"" \
- make VERSION=$pkgver DESTDIR="$pkgdir" build
- }
- package() {
- cd "$pkgname-$pkgver"
- make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement