# Maintainer: # Contributor: Mark Wagie pkgname=thingy pkgver=1.1.6 pkgrel=1 pkgdesc="Utility application used to make collections and quickly access recent and favorite documents." arch=('any') url="https://github.com/linuxmint/thingy" license=('GPL3') depends=('libgsf' 'python-gobject' 'python-setproctitle' 'xapp') optdepends=('libreoffice' 'xreader') source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") sha256sums=('433a0a9608c8c7907c7df32332c4621e0dc21948f476bb18f42ab43a7a395618') prepare() { cd "$pkgname-$pkgver" # Set version in About dialog sed -i "s/__DEB_VERSION__/${pkgver//+*/}/g" "usr/lib/$pkgname/$pkgname.py" # Fix license path sed -i 's|common-licenses/GPL|licenses/common/GPL/license.txt|g' \ "usr/lib/$pkgname/$pkgname.py" } build() { cd "$pkgname-$pkgver" make } package() { cd "$pkgname-$pkgver" cp -r usr "$pkgdir" }