added pkgbuild

i18n
michal 2 years ago
parent 944806e913
commit ad9d0d0b33

@ -0,0 +1,27 @@
# Maintainer: Matt C <mdc028[at]bucknell[dot]edu>
# Developer: axtlos <axtlos[at]salyut[dot]one>
# Developer: jnats <jnats[at]salyut[dot]one>
pkgname=amethyst
pkgver=3.0.0
pkgrel=1
pkgdesc="Fast, efficient and lightweight AUR helper/pacman wrapper"
arch=('x86_64')
url="https://git.tar.black/crystal/ame"
license=('Nolicense')
source=("git+https://git.tar.black/crystal/ame")
sha256sums=('SKIP')
depends=('git' 'binutils' 'fakeroot')
makedepends=('cargo' 'make')
conflicts=('ame')
build() {
cd ${srcdir}/ame
cargo build --release --all-features
}
package() {
mkdir -p $pkgdir/usr/bin
chmod +x ${srcdir}/ame/target/debug/{ame,apt,apt-get,dnf,eopkg,yum,zypper}
cp ${srcdir}/ame/{ame,apt,apt-get,dnf,eopkg,yum,zypper} $pkgdir/usr/bin/.
}
Loading…
Cancel
Save