You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
533 B
Bash
20 lines
533 B
Bash
# Crystal Maintainer: echo -n 'bWF0dEBnZXRjcnlzdC5hbA==' | base64 --decode
|
|
pkgname=pkg_warner
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc="A helpful script if you use the wrong package manager"
|
|
arch=('any')
|
|
url="https://github.com/crystal-linux/pkg-warner"
|
|
license=('GPL')
|
|
provides=($pkgname)
|
|
conflicts=($pkgname)
|
|
depends=('bash')
|
|
source=('warner')
|
|
md5sums=('SKIP')
|
|
|
|
package() {
|
|
chmod +x warner
|
|
mkdir -p ${pkgdir}/usr/bin
|
|
cp warner ${pkgdir}/usr/bin/pkg-warner
|
|
ln -s ${pkgdir}/usr/bin/{apt,apt-get,zypper,dnf,eopkg,apk} /usr/bin/pkg-warner
|
|
} |