diff options
Diffstat (limited to 'gourmand/PKGBUILD')
-rw-r--r-- | gourmand/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gourmand/PKGBUILD b/gourmand/PKGBUILD new file mode 100644 index 0000000..610fd62 --- /dev/null +++ b/gourmand/PKGBUILD | |||
@@ -0,0 +1,35 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | |||
3 | pkgname='gourmand' | ||
4 | pkgver=1.0.0 | ||
5 | pkgrel=4 | ||
6 | pkgdesc="A recipe manager for desktop that can import recipes" | ||
7 | arch=('any') | ||
8 | url="https://github.com/GourmandRecipeManager/gourmand" | ||
9 | license=('GPL') | ||
10 | depends=('python-gobject' 'gtk3' 'python-pyenchant' 'gst-python' 'python-pillow' 'python-sqlalchemy1.3' 'python-lxml' 'python-cairo' 'python-requests') | ||
11 | makedepends=('python-pip' 'gendesk') | ||
12 | optdepends=( | ||
13 | 'python-beautifulsoup4: Webpage import plugin' | ||
14 | 'python-scrape-schema-recipe: Webpage import plugin' | ||
15 | 'python-selenium' | ||
16 | 'python-keyring' | ||
17 | 'python-ebooklib: EPub export plugin' | ||
18 | 'python-reportlab: Printing & PDF export plugin' | ||
19 | 'python-gtkspellcheck: Spell checking plugin' | ||
20 | 'nuspell: Spell checking' | ||
21 | 'hspell: Spell checking for Hebrew' | ||
22 | 'libvoikko: Spell checking for Finnish language' | ||
23 | ) | ||
24 | conflicts=('gourmet') | ||
25 | source=("$pkgname-$pkgver-py3-none-any.whl::$url/releases/download/$pkgver/$pkgname-$pkgver-py3-none-any.whl") | ||
26 | sha256sums=('9f1acf7098e62a8bca932ba43a9f1ee6b94978073824b96c5c1032fce23b12d4') | ||
27 | |||
28 | prepare() { | ||
29 | gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" | ||
30 | } | ||
31 | |||
32 | package() { | ||
33 | PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl | ||
34 | install -D -m644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" | ||
35 | } | ||