summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Tari2020-07-06 17:37:45 +0200
committerRobert Tari2020-07-06 17:37:45 +0200
commit67e2c931dfe64f3d0e036777811c2774e9355dc6 (patch)
tree8d7d499dd39a6a9c80f03c6850b76b19cd81d066
parente67d13f56fb6308235d4f5b555d373f1bc4aca46 (diff)
downloadaur-67e2c931dfe64f3d0e036777811c2774e9355dc6.tar.gz
Updated dependencies
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 944cef68a38..e90ec8eb1ca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -16,7 +16,7 @@ pkgbase = lampswitch
depends = desktop-file-utils
optdepends = mate-ayatana-indicator-applet
optdepends = libayatana-appindicator-gtk3
- source = bzr+lp:/lampswitch/trunk
+ source = bzr+lp:lampswitch
md5sums = SKIP
pkgname = lampswitch
diff --git a/PKGBUILD b/PKGBUILD
index bfce3503ec9..3c6e1265f55 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,24 +12,24 @@ depends=("gobject-introspection" "gtk3" "python-gobject" "libappindicator-gtk3"
makedepends=("breezy" "python-setuptools" "python-polib")
optdepends=("mate-ayatana-indicator-applet" "libayatana-appindicator-gtk3")
install="${pkgname}.install"
-source=("bzr+lp:/${pkgname}/trunk")
+source=("bzr+lp:${pkgname}")
md5sums=("SKIP")
pkgver()
{
- cd trunk
+ cd ${srcdir}/${pkgname}
echo "$(cat ${pkgname/\-/}/appdata.py | grep APPVERSION | sed 's| ||g' | sed "s|'||g" | cut -f '2' -d '=').$(bzr revno)"
}
build()
{
- cd trunk
+ cd ${srcdir}/${pkgname}
python setup.py build
}
package()
{
- cd trunk
+ cd ${srcdir}/${pkgname}
python setup.py install --root="${pkgdir}" --optimize=1
}