[arch-commits] Commit in mailnag/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sat Apr 17 01:29:44 UTC 2021


    Date: Saturday, April 17, 2021 @ 01:29:43
  Author: bgyorgy
Revision: 919606

upgpkg: mailnag 2.2.0-2: Minor changes

Modified:
  mailnag/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++----------------------
 1 file changed, 9 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-17 01:20:25 UTC (rev 919605)
+++ PKGBUILD	2021-04-17 01:29:43 UTC (rev 919606)
@@ -4,36 +4,23 @@
 
 pkgname=mailnag
 pkgver=2.2.0
-pkgrel=1
-pkgdesc="Extensible mail notification daemon"
+pkgrel=2
+pkgdesc='Extensible mail notification daemon'
 arch=('any')
-url="https://github.com/pulb/mailnag"
+url='https://github.com/pulb/mailnag'
 license=('GPL')
-depends=('gst-plugins-base' 'gtk3' 'libnotify' 'libsecret' 'python-dbus' 'python-gobject' 'python-xdg')
-makedepends=(git)
+depends=('dbus-python' 'gst-plugins-base' 'gtk3' 'libnotify' 'libsecret' 'python-gobject' 'python-pyxdg')
 optdepends=('mailnag-goa-plugin: GNOME Online Accounts integration'
             'mailnag-gnome-shell: GNOME Shell integration')
-_commit=4a65218a61b0f34c9758a0ee7b33c6f54b68990a
-source=("git+https://github.com/pulb/mailnag.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("https://github.com/pulb/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('27cff6844f3601cf903505fcd50c2443a7b39720429737583f1b2392bc69a3e9')
 
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  # Add categories to desktop file
-  echo 'Categories=Network;Email;' >> data/mailnag.desktop
-}
-
 build() {
-  cd $pkgname
+  cd $pkgname-$pkgver
   python setup.py build
 }
 
 package() {
-  cd $pkgname
-  python setup.py install --root="$pkgdir" --optimize=1
+  cd $pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 }



More information about the arch-commits mailing list