From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- gourmand | 1 - gourmand/.SRCINFO | 33 +++++++++++++++++++++++++++++++++ gourmand/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 1 deletion(-) delete mode 160000 gourmand create mode 100644 gourmand/.SRCINFO create mode 100644 gourmand/PKGBUILD (limited to 'gourmand') diff --git a/gourmand b/gourmand deleted file mode 160000 index 904ab22..0000000 --- a/gourmand +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 904ab220ae5765d1aec333f90e183a91a5e488ab diff --git a/gourmand/.SRCINFO b/gourmand/.SRCINFO new file mode 100644 index 0000000..37b6460 --- /dev/null +++ b/gourmand/.SRCINFO @@ -0,0 +1,33 @@ +pkgbase = gourmand + pkgdesc = A recipe manager for desktop that can import recipes + pkgver = 1.0.0 + pkgrel = 3 + url = https://github.com/GourmandRecipeManager/gourmand + arch = any + license = GPL + makedepends = python-pip + makedepends = gendesk + depends = python-gobject + depends = gtk3 + depends = python-pyenchant + depends = gst-python + depends = python-pillow + depends = python-sqlalchemy + depends = python-lxml + depends = python-cairo + depends = python-requests + optdepends = python-beautifulsoup4: Webpage import plugin + optdepends = python-scrape-schema-recipe: Webpage import plugin + optdepends = python-selenium + optdepends = python-keyring + optdepends = python-ebooklib: EPub export plugin + optdepends = python-reportlab: Printing & PDF export plugin + optdepends = python-gtkspellcheck: Spell checking plugin + optdepends = nuspell: Spell checking + optdepends = hspell: Spell checking for Hebrew + optdepends = libvoikko: Spell checking for Finnish language + conflicts = gourmet + source = gourmand-1.0.0-py3-none-any.whl::https://github.com/GourmandRecipeManager/gourmand/releases/download/1.0.0/gourmand-1.0.0-py3-none-any.whl + sha256sums = 9f1acf7098e62a8bca932ba43a9f1ee6b94978073824b96c5c1032fce23b12d4 + +pkgname = gourmand diff --git a/gourmand/PKGBUILD b/gourmand/PKGBUILD new file mode 100644 index 0000000..92e52c9 --- /dev/null +++ b/gourmand/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Yigit Sever + +pkgname='gourmand' +pkgver=1.0.0 +pkgrel=3 +pkgdesc="A recipe manager for desktop that can import recipes" +arch=('any') +url="https://github.com/GourmandRecipeManager/gourmand" +license=('GPL') +depends=('python-gobject' 'gtk3' 'python-pyenchant' 'gst-python' 'python-pillow' 'python-sqlalchemy' 'python-lxml' 'python-cairo' 'python-requests') +makedepends=('python-pip' 'gendesk') +checkdepends=() +optdepends=( + 'python-beautifulsoup4: Webpage import plugin' + 'python-scrape-schema-recipe: Webpage import plugin' + 'python-selenium' + 'python-keyring' + 'python-ebooklib: EPub export plugin' + 'python-reportlab: Printing & PDF export plugin' + 'python-gtkspellcheck: Spell checking plugin' + 'nuspell: Spell checking' + 'hspell: Spell checking for Hebrew' + 'libvoikko: Spell checking for Finnish language' + ) +conflicts=('gourmet') +source=("$pkgname-$pkgver-py3-none-any.whl::$url/releases/download/$pkgver/$pkgname-$pkgver-py3-none-any.whl") +sha256sums=('9f1acf7098e62a8bca932ba43a9f1ee6b94978073824b96c5c1032fce23b12d4') + +prepare() { + gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" +} + +package() { + # https://wiki.archlinux.org/title/Python_package_guidelines#pip + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl + install -D -m644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" +} -- cgit v1.2.3-70-g09d2