mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
28 lines
632 B
Bash
28 lines
632 B
Bash
|
pkgname=qarma
|
||
|
pkgver=t1
|
||
|
pkgrel=1
|
||
|
pkgdesc="A drop-in replacement clone for zenity, written in Qt4/5"
|
||
|
arch=('x86_64')
|
||
|
url="https://github.com/luebking/qarma"
|
||
|
license=('GPL')
|
||
|
depends=('qt5-base' 'qt5-x11extras')
|
||
|
provides=('qarma' 'zenity')
|
||
|
conflicts=('qarma' 'zenity')
|
||
|
source=("https://github.com/luebking/qarma/archive/${pkgver}.tar.gz")
|
||
|
sha1sums=('54345347982e2be166b6425e5e95b3e10086e033')
|
||
|
|
||
|
build()
|
||
|
{
|
||
|
cd $srcdir/$pkgname-${pkgver}
|
||
|
qmake-qt5
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $srcdir/$pkgname-${pkgver}
|
||
|
strip qarma
|
||
|
mkdir -p $pkgdir/usr/bin
|
||
|
cp qarma $pkgdir/usr/bin
|
||
|
ln -s /usr/bin/qarma $pkgdir/usr/bin/zenity
|
||
|
}
|