From 9df2df9491d44d0667146e52cfb742fc835d12fb Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 13 Jun 2018 04:14:45 -0300 Subject: [PATCH] libhangul: use github instead of google code, separate into -devel. Closes #15115. Signed-off-by: Enno Boland --- srcpkgs/libhangul-devel | 1 + srcpkgs/libhangul/template | 19 +++++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/libhangul-devel diff --git a/srcpkgs/libhangul-devel b/srcpkgs/libhangul-devel new file mode 120000 index 00000000000..a5be38898a9 --- /dev/null +++ b/srcpkgs/libhangul-devel @@ -0,0 +1 @@ +libhangul \ No newline at end of file diff --git a/srcpkgs/libhangul/template b/srcpkgs/libhangul/template index 16da7f5938f..837e6b68d50 100644 --- a/srcpkgs/libhangul/template +++ b/srcpkgs/libhangul/template @@ -1,11 +1,22 @@ # Template file for 'libhangul' pkgname=libhangul version=0.1.0 -revision=1 +revision=2 build_style=gnu-configure +configure_args="--disable-static" short_desc="A library to support hangul input and character classification" maintainer="Matthew Wynn " -homepage="http://code.google.com/p/libhangul/" -license="LGPL-2.1" -distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${pkgname}/${pkgname}-${version}.tar.gz" +license="LGPL-2.1-or-later" +homepage="https://github.com/libhangul/libhangul" +distfiles="https://github.com/libhangul/libhangul/archive/libhangul-${version}.tar.gz" checksum=5905aa5c557d8d46e190fec1afdd75babf3bc086ef286b42007572703658295a + +libhangul-devel_package() { + depends="libhangul-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}