aboutsummaryrefslogtreecommitdiffstats
path: root/community/remmina/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/remmina/APKBUILD')
-rw-r--r--community/remmina/APKBUILD37
1 files changed, 7 insertions, 30 deletions
diff --git a/community/remmina/APKBUILD b/community/remmina/APKBUILD
index a637a75e8d..976533c89a 100644
--- a/community/remmina/APKBUILD
+++ b/community/remmina/APKBUILD
@@ -7,11 +7,10 @@ pkgdesc="Remmina is a remote desktop client written in GTK+"
url="http://remmina.sourceforge.net/"
arch="all"
license="GPL"
-depends=
+depends=""
makedepends="gtk+3.0-dev intltool zlib-dev libjpeg-turbo-dev gnutls-dev
vte3-dev libgcrypt-dev libssh-dev libxkbfile-dev freerdp-dev
avahi-ui-dev libvncserver-dev cmake"
-install=
replaces="remmina-plugins"
subpackages="$pkgname-dev $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/$_hash.tar.gz
@@ -20,22 +19,9 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/$_ha
libintl-underlink.patch
"
-_builddir="$srcdir"/Remmina-$_hash
-
-prepare() {
- cd "$_builddir"
- for patch in $source; do
- case $patch in
- *.patch)
- msg "Applying patch $patch"
- patch -p1 -i "$srcdir"/$patch || return 1
- ;;
- esac
- done
-}
-
+builddir="$srcdir"/Remmina-$_hash
build() {
- cd "$_builddir"
+ cd "$builddir"
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -47,24 +33,15 @@ build() {
-DWITH_PTHREAD=ON \
-DWITH_TELEPATHY=OFF \
-DWITH_VTE=ON \
- -DWITH_ZLIB=ON \
- || return 1
- make || return 1
+ -DWITH_ZLIB=ON
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="5416021bacea67866835a14dd2f22af5 remmina-1.2.0.tar.gz
-178d55f7aa59d6dc73b19e03201ad1e4 no-gnome-keyring.patch
-144e8f4127ccec7282060800147a48ea remmina-1.0.0-dsofix.patch
-e5af6b49e42462550f51843ef8326076 libintl-underlink.patch"
-sha256sums="baa05c547e51ce353f51ff5cd058f863af72d8fbd310cef8073e48ffe472cf03 remmina-1.2.0.tar.gz
-fb6094af599b64a1944f9a13a767e846d8bf772470690073da76cfd5eed799c2 no-gnome-keyring.patch
-701cf9b0d6560ae9eee375f3c2828e449666190664fb28c9ccd95627db5d92e4 remmina-1.0.0-dsofix.patch
-a8065f8bef88417bdfd8631441da19c9f945e0cc7131382e33a9f2c26f4e6017 libintl-underlink.patch"
sha512sums="a323ed705a6f7e84488971eff00612807ae7c49fd547a7058ed4ac463d8ffecdb974e12e438c02fd45f25740431f32ba4733483ba9afac90f3fcab07834f2060 remmina-1.2.0.tar.gz
5e0d26e799c9b85ae0c5bd7b9e6f07fd4a2da15c12b2a649098603c84d7dda6bfa518b0295edecc7522ab06c1a84d444083634d9fedb7d44b65b86dfc2eef65b no-gnome-keyring.patch
4b8299c65b9a1bc529fd44fdb05033d5dfd7e5589daea7056d275011a6f01f4154141ae9b787581de646019c9f15b0493da39484850b2df052df33824c67dd91 remmina-1.0.0-dsofix.patch