summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Tari2020-10-11 23:40:33 +0200
committerRobert Tari2020-10-11 23:40:33 +0200
commitd68e8ddf1735a875aaab5d1e9c3bb951e38ef9bb (patch)
tree085c04639722bed3097e2df49e69b36ab61ff558
parent955b5b0087e482378d59961d9130dd5fde1aa8cb (diff)
downloadaur-d68e8ddf1735a875aaab5d1e9c3bb951e38ef9bb.tar.gz
Automatic update via tari.in
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD19
2 files changed, 9 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a9d08c69ecf..1925a66bef5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
pkgbase = lampswitch
pkgdesc = Indicator and control applet for Apache
- pkgver = 20.7.23.42
+ pkgver = 20.7.24
pkgrel = 1
url = https://tari.in/www/software/lampswitch
install = lampswitch.install
arch = any
license = GPL3
- makedepends = breezy
makedepends = python-setuptools
makedepends = python-polib
depends = gobject-introspection
@@ -14,9 +13,8 @@ pkgbase = lampswitch
depends = python-gobject
depends = libayatana-appindicator
depends = desktop-file-utils
- optdepends = mate-ayatana-indicator-applet
- source = bzr+lp:lampswitch
- md5sums = SKIP
+ source = https://github.com/tari01/lampswitch/archive/20.7.24.tar.gz
+ md5sums = 6dc061673ee5422c58247fb16a6c5a46
pkgname = lampswitch
diff --git a/PKGBUILD b/PKGBUILD
index fcfb455542c..f9d6c101c43 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,34 +2,27 @@
# Maintainer: Robert Tari <robert at tari dot in>
pkgname="lampswitch"
-pkgver="20.7.23.42"
+pkgver="20.7.24"
pkgrel=1
pkgdesc="Indicator and control applet for Apache"
arch=("any")
url="https://tari.in/www/software/lampswitch"
license=("GPL3")
depends=("gobject-introspection" "gtk3" "python-gobject" "libayatana-appindicator" "desktop-file-utils")
-makedepends=("breezy" "python-setuptools" "python-polib")
-optdepends=("mate-ayatana-indicator-applet")
+makedepends=("python-setuptools" "python-polib")
install="${pkgname}.install"
-source=("bzr+lp:${pkgname}")
-md5sums=("SKIP")
-
-pkgver()
-{
- cd ${srcdir}/${pkgname}
- echo "$(cat ${pkgname/\-/}/appdata.py | grep APPVERSION | sed 's| ||g' | sed "s|'||g" | cut -f '2' -d '=').$(bzr revno)"
-}
+source=("https://github.com/tari01/${pkgname}/archive/${pkgver}.tar.gz")
+md5sums=("6dc061673ee5422c58247fb16a6c5a46")
build()
{
- cd ${srcdir}/${pkgname}
+ cd ${srcdir}/${pkgname}-${pkgver}
python setup.py build
}
package()
{
- cd ${srcdir}/${pkgname}
+ cd ${srcdir}/${pkgname}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1
}