mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/tigervnc to 1.7.1-1
This commit is contained in:
parent
9f95ea8f19
commit
ea3df6fc3b
1 changed files with 19 additions and 19 deletions
|
@ -5,7 +5,7 @@
|
|||
# - use -fPIC for v7
|
||||
|
||||
pkgname=tigervnc
|
||||
pkgver=1.7.0
|
||||
pkgver=1.7.1
|
||||
pkgrel=1
|
||||
_xorgver=1.18.4
|
||||
pkgdesc="Suite of VNC servers and clients. Based on the VNC 4 branch of TightVNC."
|
||||
|
@ -28,27 +28,27 @@ source=($pkgname-$pkgver.tar.gz::https://github.com/TigerVNC/tigervnc/archive/v$
|
|||
vncviewer.desktop
|
||||
gethomedir.patch
|
||||
xorg118.patch)
|
||||
md5sums=('0930edf4f339283d856ce7027db40308'
|
||||
'd4842dfe3bd9a9d062f2fa1df9104a46'
|
||||
'a8a20685c23a50f86a13c33ce96a7ba7'
|
||||
'b200d83c60e80c6f9693ea19a2d9f5b0'
|
||||
'22f1523a0eca56ad79cfabd0db6e2cf6'
|
||||
'2fd32181679077eb7f7ca06cf25f443f')
|
||||
sha256sums=('3c021ec0bee4611020c0bcbab995b0ef2f6f1a46127a52b368827f3275527ccc'
|
||||
'278459b2c31d61a15655d95a72fb79930c480a6bb8cf9226e48a07df8b1d31c8'
|
||||
'80f8fc7598d05e645ae73bc3371bbdededf07136a9f024ce6ebbfe469335b16e'
|
||||
'2ada7da1a926d78f11d2dd8ec376ac5877d2ce2bbb57a99526c13d8fcae6ddd7'
|
||||
'589441f368159d18be931856c30bb1874d54392d80d58a39e3826f00cb0c110e'
|
||||
'7764c6a6b3052042aefe571c9dce24b1b30359fc92853821eb78e9d14dd185db')
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd "$srcdir"/${pkgname}-${pkgver}
|
||||
|
||||
# patch -Np1 -i ${srcdir}/xorg118.patch
|
||||
patch -Np1 -i ${srcdir}/gethomedir.patch
|
||||
# patch -Np1 -i "$srcdir"/xorg118.patch
|
||||
patch -Np1 -i "$srcdir"/gethomedir.patch
|
||||
sed -i 's/iconic/nowin/' unix/vncserver
|
||||
|
||||
cd unix/xserver
|
||||
cp -r ${srcdir}/xorg-server-${_xorgver}/* .
|
||||
cp -r "$srcdir"/xorg-server-${_xorgver}/* .
|
||||
patch -Np1 -i ../xserver117.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd "$srcdir"/${pkgname}-${pkgver}
|
||||
|
||||
[ "$CARCH" == "armv7h" ] && CFLAGS+=" -fPIC" && CXXFLAGS+=" -fPIC"
|
||||
|
||||
|
@ -68,12 +68,12 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
cd "$srcdir"/${pkgname}-${pkgver}
|
||||
make DESTDIR="$pkgdir" install
|
||||
cd unix/xserver/hw/vnc
|
||||
make DESTDIR=${pkgdir} install
|
||||
install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/contrib/systemd/user/vncserver@.service \
|
||||
$pkgdir/usr/lib/systemd/user/vncserver@.service
|
||||
install -Dm0644 $srcdir/vncserver.service $pkgdir/usr/lib/systemd/system/vncserver.service
|
||||
install -Dm0644 $srcdir/vncviewer.desktop $pkgdir/usr/share/applications/vncviewer.desktop
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm0644 "$srcdir"/${pkgname}-${pkgver}/contrib/systemd/user/vncserver@.service \
|
||||
"$pkgdir"/usr/lib/systemd/user/vncserver@.service
|
||||
install -Dm0644 "$srcdir"/vncserver.service "$pkgdir"/usr/lib/systemd/system/vncserver.service
|
||||
install -Dm0644 "$srcdir"/vncviewer.desktop "$pkgdir"/usr/share/applications/vncviewer.desktop
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue