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