Last active
May 6, 2018 11:25
-
-
Save patrick96/8003335b6fd9ee4939b2cca0aae299ee to your computer and use it in GitHub Desktop.
Fixed boomaga PKGBUILD for v1.3.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributer: giacomogiorgianni@gmail.com | |
pkgname=boomaga | |
pkgver=1.3.0 | |
pkgrel=1 | |
pkgdesc="Is a virtual printer for viewing a document before printing it out using the physical printer" | |
arch=('i686' 'x86_64') | |
url="https://github.com/Boomaga/boomaga" | |
license=('LGPL') | |
depends=('kdebase-runtime' 'ghostscript' 'snappy' 'poppler>=0.58') | |
makedepends=('cmake' 'gcc') | |
options=(!emptydirs) | |
source=(https://github.com/Boomaga/${pkgname}/archive/v${pkgver}.tar.gz) | |
md5sums=('a2176489b343f6bd1813a82a4ff9a8cb') | |
build() { | |
cd "$srcdir/$pkgname-$pkgver" | |
if [ -d build ] ; then | |
rm build/* -rf | |
else | |
mkdir build | |
fi | |
cd build | |
cmake -DCMAKE_INSTALL_PREFIX=/usr .. | |
make | |
} | |
package() { | |
cd "${srcdir}/${pkgname}-${pkgver}/build" | |
make DESTDIR="$pkgdir/" install | |
install -D -m755 "$srcdir/$pkgname-$pkgver/scripts/installPrinter.sh" "${pkgdir}/usr/bin/" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment