blob: 54011eb9f6e1219cfb2043a05d3c0a663c6c3e71 (
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.4
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=('python-gobject' 'python-setproctitle' 'xapp')
optdepends=('libreoffice' 'xreader')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('6550d9cb5f0974728196d9c15ffda54437ce9c025ed43b34b6c87ca235509a4c')
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"
}
|