summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksandr Natalenko2018-09-26 22:30:23 +0200
committerOleksandr Natalenko2018-09-26 22:30:23 +0200
commit10bcf51ef5e7d98f19f903954ebfbcae252ae555 (patch)
tree11f7116008303dedd9698587d49bcf4c0daa5d50
parent3369f2c96854f404da61388b93865cae42c6abe2 (diff)
downloadaur-10bcf51ef5e7d98f19f903954ebfbcae252ae555.tar.gz
use pre-extracted png icon
Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name>
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
-rw-r--r--microsip.pngbin0 -> 62859 bytes
3 files changed, 7 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7ef524aeb4a..074cfbdf5c4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,23 @@
pkgbase = microsip
pkgdesc = Open source portable SIP softphone for Windows based on PJSIP stack
pkgver = 3.19.8
- pkgrel = 1
+ pkgrel = 2
url = https://www.microsip.org/
install = microsip.install
arch = x86_64
license = GPLv2
- makedepends = icoutils
- makedepends = imagemagick
depends = wine
depends = lib32-libpulse
depends = xorg-xdpyinfo
source = MicroSIP-Lite-3.19.8.zip::https://www.microsip.org/downloads/?file=MicroSIP-Lite-3.19.8.zip
source = microsip
source = microsip.desktop
+ source = microsip.png
source = microsip.reg
sha256sums = 928f6ef508e69aca365f92a07a1b99e68d172305420822be5e4ea1cab1704276
sha256sums = 16151e9649dc79e5d161b75c06854e2b32606bb90b2d9ce9e0e49dc14fb6acaf
sha256sums = d588c2b2e38e12d2be3dfdd9f2a63690293b884c7df240c441e271725b9a2ca2
+ sha256sums = 4d33d040f772c4b1f1652b8af59342bdec600fd3de875e7ef6ee1a43fc3415cf
sha256sums = c97cde99004dbee5cb9b05a7b6bad117e5ec63cb1032fa56efdf07a4b27e3c1d
pkgname = microsip
diff --git a/PKGBUILD b/PKGBUILD
index ead653727b8..664c5e1b41b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,26 @@
# Maintainer: Oleksandr Natalenko <oleksandr@natalenko.name>
pkgname=microsip
pkgver=3.19.8
-pkgrel=1
+pkgrel=2
pkgdesc="Open source portable SIP softphone for Windows based on PJSIP stack"
arch=(x86_64)
url="https://www.microsip.org/"
license=(GPLv2)
depends=(wine lib32-libpulse xorg-xdpyinfo)
-makedepends=(icoutils imagemagick)
install=${pkgname}.install
source=("MicroSIP-Lite-${pkgver}.zip"::"https://www.microsip.org/downloads/?file=MicroSIP-Lite-${pkgver}.zip"
"${pkgname}"
"${pkgname}.desktop"
+ "${pkgname}.png"
"${pkgname}.reg")
sha256sums=('928f6ef508e69aca365f92a07a1b99e68d172305420822be5e4ea1cab1704276'
'16151e9649dc79e5d161b75c06854e2b32606bb90b2d9ce9e0e49dc14fb6acaf'
'd588c2b2e38e12d2be3dfdd9f2a63690293b884c7df240c441e271725b9a2ca2'
+ '4d33d040f772c4b1f1652b8af59342bdec600fd3de875e7ef6ee1a43fc3415cf'
'c97cde99004dbee5cb9b05a7b6bad117e5ec63cb1032fa56efdf07a4b27e3c1d')
-prepare() {
- wrestool -x -t 14 microsip.exe >${pkgname}.ico
- convert ${pkgname}.ico ${pkgname}.png
-
- mv ${pkgname}-0.png ${pkgname}.png
-}
-
package() {
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m0644 "License.txt"
install -Dt "${pkgdir}/usr/share/doc/${pkgname}" -m0644 "MicroSIP Website.url"
@@ -41,6 +35,6 @@ package() {
install -Dt "${pkgdir}/usr/bin" -m0755 "${pkgname}"
install -Dt "${pkgdir}/usr/share/${pkgname}" -m0644 "${pkgname}.reg"
install -Dt "${pkgdir}/usr/share/applications" -m0644 "${pkgname}.desktop"
- install -Dt "${pkgdir}/usr/share/icons/hicolor/48x48/apps" -m0644 "${pkgname}.png"
+ install -Dt "${pkgdir}/usr/share/icons/hicolor/256x256/apps" -m0644 "${pkgname}.png"
}
diff --git a/microsip.png b/microsip.png
new file mode 100644
index 00000000000..d6fab1ee5e4
--- /dev/null
+++ b/microsip.png
Binary files differ