aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 2cd5670dc9c877273147f53f6c8c83d1dddd50af (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
# shellcheck disable=SC2034,SC2154,SC2164
# Maintainer: pml68 <contact@pml68.dev>

pkgname=aur
pkgver=1.1.0
pkgrel=1
pkgdesc='A simple script for AUR package management'
arch=('any')
url='https://github.com/pml68/aur'
license=('MIT')
depends=(
  'bash'
  'git'
)
options=('!strip' '!debug')
conflicts=('aur')
provides=('aur')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pml68/aur/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('b11afc24dec89457ed975852ae1d13ec1668edd36f26b5cfc3c37e097d14f520')

package() {
  cd "${pkgname}-${pkgver}"
  make DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}