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.
|
|
|
# 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=('02ce7e9e8c29c3d110ca2280ac1cdfcf')
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|