blob: 6dee3c968e259b6ec2e709445e896fe33dd00601 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=thingy
pkgver=1.0.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=('74f39656dd7d196dbc7b21b1e5c3efa9ed65fe5029fe434bbe58c30c735a9755')
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"
}
|