makedeb


wxglade 1.0.4-3


wxGlade is a GUI builder written in Python for the GUI toolkit wxWidgets/wxPython

Click here to go back to the commit logs for wxglade.

Commit:


Hash: cfca70fb0a6597a06711c34c61250a0f680421de

Message: Changes to be committed: modified: .SRCINFO modified: PKGBUILD

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 264cdfc..b4cfdba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = wxglade
 pkgbase = wxglade
 pkgdesc = wxGlade is a GUI builder written in Python for the GUI toolkit wxWidgets/wxPython
-pkgrel = 2
+pkgrel = 3
 pkgver = 1.0.4
 url = https://github.com/wxGlade/wxGlade
 arch = any
@@ -12,7 +12,13 @@ depends = desktop-file-utils
 depends = hicolor-icon-theme
 depends = shared-mime-info
 license = MIT
+makedepends = python3-setuptools
+makedepends = gendesk
+makedepends = icoutils
 source = https://github.com/wxGlade/wxGlade/archive/v1.0.4.tar.gz
 source = application-x-wxg.xml
 sha256sums = 4ef19816224bd5d1acaf7b98fa6e03904d2acc8c225942618289d2ff55f157d2
 sha256sums = f651ff097678077eac865c64a655107c9a4aa4fd0bf65e233713a5ed916608c0
+makedepends = python3-setuptools
+makedepends = gendesk
+makedepends = icoutils
diff --git a/PKGBUILD b/PKGBUILD
index e179d6c..edb0a58 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,47 +1,41 @@
-# Maintainer:  FirstAirBender <noblechuk5[at]web[dot]de>
-# Contributor: Christoph Robbert <chrobbert@gmail.com>
-# Contributor: Alexander Rødseth <rodseth@gmail.com>
-# Contributor: Brad Fanella <bradfanella@archlinux.us>
-# Contributor: jrutila
-# Contributor: grimi <grimi@poczta.fm>
-# Contributor: jht <stefano@inventati.org>
+# Maintainer:  huakim <fijik19@gmail.com>
 
 pkgname=wxglade
 pkgver=1.0.4
-pkgrel=2
+pkgrel=3
 pkgdesc='wxGlade is a GUI builder written in Python for the GUI toolkit wxWidgets/wxPython'
 arch=('any')
 license=('MIT')
 url='https://github.com/wxGlade/wxGlade'
 depends=('python3' 'python3-wxgtk4.0' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info')
-makedepends=()
+makedepends=(python3-setuptools gendesk icoutils)
 source=("https://github.com/wxGlade/wxGlade/archive/v$pkgver.tar.gz"
         application-x-wxg.xml)
 sha256sums=('4ef19816224bd5d1acaf7b98fa6e03904d2acc8c225942618289d2ff55f157d2'
             'f651ff097678077eac865c64a655107c9a4aa4fd0bf65e233713a5ed916608c0')
 
 prepare() {
- # gendesk -f -n --pkgname "$pkgname" \
- # 	--pkgdesc "$pkgdesc" \
- # 	--exec "$pkgname %f" \
- #   --name 'WxGlade' \
- #   --mimetypes 'application/x-wxg' \
- #   --categories "Development;GUIDesigner"
+  gendesk -f -n --pkgname "$pkgname" \
+  	--pkgdesc "$pkgdesc" \
+  	--exec "$pkgname %f" \
+    --name 'WxGlade' \
+    --mimetypes 'application/x-wxg' \
+    --categories "Development;GUIDesigner"
 
   rm -rf "$pkgname-$pkgver" && mv -Tf {wxGlade,$pkgname}-$pkgver
 }
 
 build() {
   cd "$pkgname-$pkgver"
-  command -p python setup.py build
+  command -p python3 setup.py build
 
- # icotool --extract --output=$srcdir icons/wxglade*.ico
+  icotool --extract --output=$srcdir icons/wxglade*.ico
 }
 
 package() {
   cd "$pkgname-$pkgver"
 
-  command -p python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  command -p python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
 
   datadir="$pkgdir/usr/share/"