mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
33 lines
956 B
Bash
33 lines
956 B
Bash
pkgname=qt5-fsarchiver
|
|
_pkgname=qt-fsarchiver
|
|
pkgver=0.8.5.4
|
|
_pkgver=${pkgver:0:5}-${pkgver:6}
|
|
pkgrel=1
|
|
pkgdesc='GUI for fsarchiver'
|
|
arch=('x86_64')
|
|
url='http://sourceforge.net/projects/qt-fsarchiver/'
|
|
license=('GPL')
|
|
depends=('fsarchiver' 'qt5-base' 'qt5-fsarchiver-terminal')
|
|
makedepends=('qt5-tools')
|
|
categories=('utils')
|
|
provides=('qt-fsarchiver')
|
|
screenshot=('http://media.cdn.ubuntu-de.org/wiki/attachments/02/04/verzeichnis.jpg')
|
|
source=("http://sourceforge.net/projects/$_pkgname/files/source/${_pkgname}/${_pkgname}-${_pkgver}.tar.gz")
|
|
sha256sums=('5250cef93f70283a8c02f63dbf622fbbc9c81afe83584b2081d8d4e7a10e171e')
|
|
|
|
build() {
|
|
cd ${_pkgname}
|
|
qmake-qt5
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${_pkgname}
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
ln -s $pkgdir/usr/sbin/qt-fsarchiver $pkgdir/usr/sbin/qt5-fsarchiver
|
|
|
|
# Fix package name in .desktop file
|
|
sed -i s/qt-fsarchiver/qt5-fsarchiver/g $pkgdir/usr/share/applications/$_pkgname.desktop
|
|
}
|