summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korotkiy2017-04-30 00:35:16 +0300
committerNikolay Korotkiy2017-04-30 00:35:16 +0300
commit7200eaecde0a0920f6a8584019ea4c5a45c5fab3 (patch)
tree0de7e67d10f62a8c209310d08df4902dd69a9824
parente3e0bd52f27e1ae868cc9ea1ddf279f3c80439b1 (diff)
downloadaur-7200eaecde0a0920f6a8584019ea4c5a45c5fab3.tar.gz
Fix broken url (GC->GH)
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD27
2 files changed, 23 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 14eaf831fc5..821af463c1a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,18 @@
+# Generated by makepkg 5.0.1
+# Sat Apr 29 21:31:12 UTC 2017
pkgbase = yaml-cpp0.3
pkgdesc = YAML parser and emitter in C++, written around the YAML 1.2 spec
pkgver = 0.3.0
- pkgrel = 1
- url = http://code.google.com/p/yaml-cpp/
+ pkgrel = 2
+ url = https://github.com/jbeder/yaml-cpp
arch = i686
arch = x86_64
license = MIT
makedepends = cmake
provides = yaml-cpp=0.3.0
conflicts = yaml-cpp
- source = http://yaml-cpp.googlecode.com/files/yaml-cpp-0.3.0.tar.gz
- md5sums = 9aa519205a543f9372bf4179071c8ac6
+ source = https://github.com/jbeder/yaml-cpp/archive/release-0.3.0.tar.gz
+ sha256sums = ab8d0e07aa14f10224ed6682065569761f363ec44bc36fcdb2946f6d38fe5a89
pkgname = yaml-cpp0.3
diff --git a/PKGBUILD b/PKGBUILD
index 3179c4dc848..6673c18f807 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,35 @@
-# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
+# Maintainer: Nikolay Korotkiy <sikmir@gmail.com>
+# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Markus Martin <markus@archwyrm.net>
pkgname=yaml-cpp0.3
pkgver=0.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec"
-url="http://code.google.com/p/yaml-cpp/"
+url="https://github.com/jbeder/yaml-cpp"
arch=('i686' 'x86_64')
license=('MIT')
makedepends=('cmake')
conflicts=("yaml-cpp")
-provides=("yaml-cpp=$pkgver")
-source=(http://yaml-cpp.googlecode.com/files/yaml-cpp-$pkgver.tar.gz)
-md5sums=('9aa519205a543f9372bf4179071c8ac6')
+provides=("yaml-cpp=${pkgver}")
+source=("${url}/archive/release-${pkgver}.tar.gz")
+sha256sums=('ab8d0e07aa14f10224ed6682065569761f363ec44bc36fcdb2946f6d38fe5a89')
build() {
- cd "$srcdir"/yaml-cpp
+ cd "${srcdir}/yaml-cpp-release-${pkgver}"
- cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
+ rm -rf build
+ mkdir -p build
+ cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON
make
}
package() {
- cd "$srcdir"/yaml-cpp
+ cd "${srcdir}/yaml-cpp-release-${pkgver}/build"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="${pkgdir}" install
}