31 lines
1.7 KiB
Bash
31 lines
1.7 KiB
Bash
|
# Maintainer: Markus Pesch <markus.pesch@cryptic.systems>
|
||
|
|
||
|
pkgname=masterpdfeditor-free
|
||
|
pkgver=4.3.89
|
||
|
pkgrel=1
|
||
|
pkgdesc='A complete solution for creation and editing PDF files - Free version without watermark'
|
||
|
url='https://code-industry.net/free-pdf-editor/'
|
||
|
arch=('i686' 'x86_64')
|
||
|
license=('custom')
|
||
|
conflicts=('masterpdfeditor-qt4')
|
||
|
install="${pkgname}.install"
|
||
|
source=('masterpdfeditor.desktop')
|
||
|
source_x86_64=('master-pdf-editor-4.3.89_qt5.amd64.tar.gz')
|
||
|
source_i686=('master-pdf-editor-4.3.89_qt5.amd64.tar.gz')
|
||
|
sha256sums=('7c585afe0760855a0a509d6edf10d9f1dd6b73c045ec6cac39939a96d0ce796b')
|
||
|
sha256sums_i686=('ac77db75bcc5f2bce21d98a55c07176e15682b0abe5a83708c53d38721fdab4c')
|
||
|
sha256sums_x86_64=('ac77db75bcc5f2bce21d98a55c07176e15682b0abe5a83708c53d38721fdab4c')
|
||
|
sha512sums=('39727e4f41ca76fefda681b1d41002dc5972f5fa4275d06e007027c31d5d8326e980f70bef9f00b833e5fd5a04cea06626f3123553f256f5b41e6295b0be2e43')
|
||
|
sha512sums_i686=('e9132d1c5414cdbdd19bff1232ebed87f5cc51236b25daad0ef7a58ab5efd2a6d35cd8f0ac649b5667a3ddd2f09400f38b33bbf8c35271ad40084fcc81532c33')
|
||
|
sha512sums_x86_64=('e9132d1c5414cdbdd19bff1232ebed87f5cc51236b25daad0ef7a58ab5efd2a6d35cd8f0ac649b5667a3ddd2f09400f38b33bbf8c35271ad40084fcc81532c33')
|
||
|
|
||
|
package() {
|
||
|
depends=('gcc-libs' 'glibc' 'qt5-base' 'qt5-svg' 'sane')
|
||
|
|
||
|
install -d "$pkgdir"{/opt/,/usr/bin/,/usr/share/applications/}
|
||
|
cp -a --no-preserve=ownership master-pdf-editor-${pkgver%%.*} "$pkgdir/opt/"
|
||
|
sed "s/VERMAJ/${pkgver%%.*}/g" masterpdfeditor.desktop > "$pkgdir/usr/share/applications/masterpdfeditor${pkgver%%.*}.desktop"
|
||
|
ln -s /opt/master-pdf-editor-${pkgver%%.*}/masterpdfeditor${pkgver%%.*} -t "$pkgdir/usr/bin/"
|
||
|
install -Dm644 master-pdf-editor-${pkgver%%.*}/license.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||
|
}
|