void-packages/srcpkgs/biblioteq/template
cr6git 7f1c0dcc1b
Orphan packages
* 2048-qt: orphan [ci skip]

* CPU-X: orphan [ci skip]

* Platinum9-theme: orphan [ci skip]

* SIR: orphan [ci skip]

* WoeUSB: orphan [ci skip]

* acpilight: orphan [ci skip]

* alarm-clock: orphan [ci skip]

* alert-after: orphan [ci skip]

* annie: orphan [ci skip]

* archiver: orphan [ci skip]

* archlabs-themes: orphan [ci skip]

* arena: orphan [ci skip]

* avideo: orphan [ci skip]

* bat: orphan [ci skip]

* bgc: orphan [ci skip]

* biblioteq: orphan [ci skip]

* bitfighter: orphan [ci skip]

* black: orphan [ci skip]

* breeze-cursors: orphan [ci skip]

* brightnessctl: orphan [ci skip]

* c: orphan [ci skip]

* cadence: orphan [ci skip]

* caffeine-ng: orphan [ci skip]

* catfish: orphan [ci skip]

* cbatticon-gtk3: orphan [ci skip]

* cdetect: orphan [ci skip]

* chkrootkit: orphan [ci skip]

* ckbcomp: orphan [ci skip]

* clearine: orphan [ci skip]

* clearlooks-phenix-darkpurpy-theme: orphan [ci skip]

* clustalo: orphan [ci skip]

* clyrics: orphan [ci skip]

* codecrypt: orphan [ci skip]

* conspy: orphan [ci skip]

* cpuid: orphan [ci skip]

* croc: orphan [ci skip]

* curseradio: orphan [ci skip]

* dadadodo: orphan [ci skip]

* dav: orphan [ci skip]

* ddcutil: orphan [ci skip]

* ddgr: orphan [ci skip]

* devedeng: orphan [ci skip]

* diskscan: orphan [ci skip]

* doomretro: orphan [ci skip]

* dutree: orphan [ci skip]

* eperiodique: orphan [ci skip]

* eqonomize: orphan [ci skip]

* etcetera: orphan [ci skip]

* fbmenugen: orphan [ci skip]

* ffscreencast: orphan [ci skip]

* fgit: orphan [ci skip]

* fillets-ng: orphan [ci skip]

* flameshot: orphan [ci skip]

* fmit: orphan [ci skip]

* focuswriter: orphan [ci skip]

* font-awesome5: orphan [ci skip]

* fotoxx: orphan [ci skip]

* freeorion: orphan [ci skip]

* frp: orphan [ci skip]

* garden: orphan [ci skip]

* gcompris-qt: orphan [ci skip]

* giac: orphan [ci skip]

* gifski: orphan [ci skip]

* google-earth-pro: orphan [ci skip]

* goproxy: orphan [ci skip]

* gops: orphan [ci skip]

* gtk-theme-united-gnome: orphan [ci skip]

* gtkedit: orphan [ci skip]

* guitarix2: orphan [ci skip]

* hd-idle: orphan [ci skip]

* hey: orphan [ci skip]

* hunspell-pt_BR: orphan [ci skip]

* id3: orphan [ci skip]

* idesk: orphan [ci skip]

* ideviceinstaller: orphan [ci skip]

* imagewriter: orphan [ci skip]

* input-utils: orphan [ci skip]

* jdupes: orphan [ci skip]

* jgmenu: orphan [ci skip]

* kaffeine: orphan [ci skip]

* kakasi: orphan [ci skip]

* kickshaw: orphan [ci skip]

* linux4.18: orphan [ci skip]

* logtop: orphan [ci skip]

* lsscsi: orphan [ci skip]

* mate-menu: orphan [ci skip]

* mate-tweak: orphan [ci skip]

* memtester: orphan [ci skip]

* menutray: orphan [ci skip]

* miniserve: orphan [ci skip]

* monocypher: orphan [ci skip]

* msg2: orphan [ci skip]

* mtpaint: orphan [ci skip]

* nasa-wallpaper: orphan [ci skip]

* nootka: orphan [ci skip]

* oblogout: orphan [ci skip]

* overpass-otf: orphan [ci skip]

* oxipng: orphan [ci skip]

* pan: orphan [ci skip]

* pantheon-screenshot: orphan [ci skip]

* pdftag: orphan [ci skip]

* peek: orphan [ci skip]

* pioneer: orphan [ci skip]

* postgis: orphan [ci skip]

* pstate-frequency: orphan [ci skip]

* pulseeffects: orphan [ci skip]

* qarma: orphan [ci skip]

* qastools: orphan [ci skip]

* qcas: orphan [ci skip]

* qml-box2d: orphan [ci skip]

* qtav: orphan [ci skip]

* qtfm: orphan [ci skip]

* qytdl: orphan [ci skip]

* rednotebook: orphan [ci skip]

* remmina: orphan [ci skip]

* renameutils: orphan [ci skip]

* robotfindskitten: orphan [ci skip]

* rooster: orphan [ci skip]

* rssguard: orphan [ci skip]

* rubyripper: orphan [ci skip]

* ryzen-stabilizator: orphan [ci skip]

* s: orphan [ci skip]

* searchfile: orphan [ci skip]

* sk1: orphan [ci skip]

* soundconverter: orphan [ci skip]

* spectre-meltdown-checker: orphan [ci skip]

* speed-dreams: orphan [ci skip]

* starfighter: orphan [ci skip]

* stegsnow: orphan [ci skip]

* sterm: orphan [ci skip]

* subuser: orphan [ci skip]

* supercat: orphan [ci skip]

* swh-plugins: orphan [ci skip]

* tango-icon-theme: orphan [ci skip]

* taralli: orphan [ci skip]

* tekaim: orphan [ci skip]

* ternimal: orphan [ci skip]

* thunar-media-tags-plugin: orphan [ci skip]

* tryton: orphan [ci skip]

* tty-solitaire: orphan [ci skip]

* uftp: orphan [ci skip]

* ufw-extras: orphan [ci skip]

* urxvtconfig: orphan [ci skip]

* usbtop: orphan [ci skip]

* vcdimager: orphan [ci skip]

* vmap: orphan [ci skip]

* waitforfile: orphan [ci skip]

* xcircuit: orphan [ci skip]

* xfce-polkit: orphan [ci skip]

* xkcdpass: orphan [ci skip]

* xlennart: orphan [ci skip]

* xreader: orphan [ci skip]

* xsoldier: orphan [ci skip]

* xstarter: orphan [ci skip]

* xwallpaper: orphan [ci skip]

* yaz: orphan [ci skip]

* zchunk: orphan [ci skip]

* zrandr: orphan [ci skip]
2018-10-22 18:48:12 +02:00

44 lines
1.4 KiB
Bash

# Template file for 'biblioteq'
pkgname=biblioteq
version=2018.10.01
revision=1
build_style=qmake
configure_args="-o Makefile"
conf_files="/etc/biblioteq.conf"
makedepends="libpqxx-devel qt5-devel poppler-cpp-devel poppler-qt5-devel
sqlite-devel yaz-devel"
depends="qt5-plugin-sqlite"
short_desc="Professional cataloging and library management suite"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="BSD-3-Clause"
homepage="https://textbrowser.github.io/biblioteq/"
distfiles="https://github.com/textbrowser/biblioteq/archive/${version}.tar.gz"
checksum=97ec333a0240eb3ffb9c3c3461f0bbc71f74267bac8679d12a3c679b865de776
case "$XBPS_TARGET_MACHINE" in
arm*) configure_args+=" biblioteq.arm.pro" ;;
*) configure_args+=" biblioteq.pro" ;;
esac
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel poppler-cpp-devel"
fi
pre_configure() {
sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-e 's/-mtune=native//' -e 's/-Werror//' biblioteq.arm.pro
sed -i -e 's|biblioteq.conf|/etc/biblioteq.conf|' \
-e 's/-mtune=generic//' -e 's/-Werror//' biblioteq.pro
}
do_install() {
## Translations must be in the same directory as BiblioteQ (executable)
vinstall BiblioteQ 755 usr/lib/BiblioteQ
vcopy Translations usr/lib/BiblioteQ
vinstall Icons/book.png 644 usr/share/icons
vconf biblioteq.conf
vlicense LICENSE
vmkdir usr/bin
ln -s /usr/lib/BiblioteQ/BiblioteQ ${DESTDIR}/usr/bin/biblioteq
}