makedeb


python3-pyxdg 0.27-2


Python library to access freedesktop.org standards

Click here to go back to the commit logs for python3-pyxdg.

Commit:


Hash: e04beb69b9ea4a57d7edea0a67bc0209be7224ab

Message: Changed install-layout to deb Signed-off-by: SZanko <szanko@protonmail.com>

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 7da30b3..638d4fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = python3-pyxdg
 	pkgdesc = Python library to access freedesktop.org standards
 	pkgver = 0.27
-	pkgrel = 1
+	pkgrel = 2
 	url = http://freedesktop.org/Software/pyxdg
 	arch = any
 	license = LGPL
diff --git a/PKGBUILD b/PKGBUILD
index 21c4c60..bd09570 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
 _pkgname=pyxdg
 pkgname=python3-${_pkgname}
 pkgver=0.27
-pkgrel=1
+pkgrel=2
 pkgdesc="Python library to access freedesktop.org standards"
 arch=('any')
 url="http://freedesktop.org/Software/pyxdg"
@@ -27,7 +27,7 @@ build() {
 
 package(){
   cd "${srcdir}/${_pkgname}-${pkgver}"
-  python3 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+  python3 setup.py install --root="${pkgdir}" --skip-build --optimize=1 --install-layout=deb
   mv COPYING copyright
   install -Dm644 copyright -t "${pkgdir}/usr/share/doc/${pkgname}"
 }