config.phundrak.com/Documents/code/PKGBUILDs/Wonderdraft/PKGBUILD

37 lines
1.1 KiB
Bash

# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
pkgname=Wonderdraft
pkgver=1.1.7.3
pkgrel=1
epoch=
pkgdesc=""
arch=('x86_64')
url="https://www.wonderdraft.net/"
license=('proprietary')
depends=()
makedepends=('zip')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!strip docs !libtool !staticlibs emptydirs zipman purge !debug)
install=
changelog=
source=($pkgname-$pkgver-Linux64.zip)
sha512sums=('4eaff01dad549223265cca10c3f9bf9cdbee4542b6a4afbf513fd655a47238e2d757c36d8ed7ffe16a19879f6d41739ee1e722ebc120507cde3b39250ae22c9c')
noextract=()
package() {
mkdir -p "${pkgdir}/usr/share/applications/"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/"
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 "${srcdir}/EULA.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
mkdir -p "${pkgdir}/opt/"
mv "${srcdir}" "${pkgdir}/opt/${pkgname}"
rm "${pkgdir}/opt/${pkgname}/${pkgname}-${pkgver}-Linux64.zip"
chmod 4755 "${pkgdir}/opt/${pkgname}/${pkgname}.x86_64"
}
# vim:set ts=2 sw=2 et: