summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 76b66fb6cf719a566ec30555c931a573e8dbded1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: txtsd <aur.archlinux@ihavea.quest>

pkgname=archosaur-bin
_pkgname="${pkgname%-bin}"
pkgver=1.0.0
pkgrel=3
pkgdesc='A PKGBUILD management framework for the Arch User Repository'
arch=(any)
url="https://github.com/txtsd/${_pkgname}"
license=('GPL-2.0-or-later')
depends=(bash openssh)
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${url}/releases/download/${pkgver}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('fceab3be5b7f74e382ac76d7dd28a2fe2a7fa54f84ba442460f14f473126d59b')

package() {
  cp -a usr "${pkgdir}"
  mv "${pkgdir}/usr/local/bin" "${pkgdir}/usr/bin"
  mv "${pkgdir}/usr/local/share/"* "${pkgdir}/usr/share"
  rm -rf "${pkgdir}/usr/local/"
}