Date: Friday, April 7, 2023 @ 05:55:24
  Author: felixonmars
Revision: 1440688

archrelease: copy trunk to community-staging-any

Added:
  rednotebook/repos/community-staging-any/
  rednotebook/repos/community-staging-any/PKGBUILD
    (from rev 1440687, rednotebook/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: rednotebook/repos/community-staging-any/PKGBUILD (from rev 1440687, 
rednotebook/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 05:55:24 UTC (rev 1440688)
@@ -0,0 +1,35 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: SanskritFritz (gmail)
+# Contributor: Eugenio M. Vigo <[email protected]>
+# Contributor: FadeMind <[email protected]>
+# Contributor: Dmitry Korzhevin <dkorzhevin at gmail dot com>
+# Contributor: 4javier <[email protected]>
+# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
+# Contributor: cameel <cameel2/gmail/com>
+# Contributor: Stefan Husmann <[email protected]>
+
+pkgname=rednotebook
+pkgver=2.27.1
+pkgrel=2
+pkgdesc='Modern desktop diary and personal journaling tool that lets you 
format, tag and search your entries'
+arch=('any')
+url='https://rednotebook.sourceforge.io/'
+license=('GPL')
+depends=('gtksourceview3' 'python-gobject' 'python-pyenchant' 'python-yaml' 
'webkit2gtk')
+source=("https://github.com/jendrikseipp/rednotebook/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha256sums=('1e569c29cfe94e2853d6ef8538271e79b80b88dfc73be9086eddcce6193bfe9a')
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  for _res in 16 22 32 48 64 128 192 256; do
+    install -Dm644 rednotebook/images/rednotebook-icon/rn-$_res.png \
+      "$pkgdir/usr/share/icons/hicolor/${_res}x${_res}/apps/$pkgname.png"
+  done
+}

Reply via email to