diff options
author | J. Kim | 2019-01-08 08:50:30 +0900 |
---|---|---|
committer | J. Kim | 2019-01-08 08:56:33 +0900 |
commit | ecc011171c087b51a0982f2c8b8f9468a49260af (patch) | |
tree | 9bdaf5695a513193c8ab174e03c51693290270a5 | |
parent | cf35188e263c65305ca805fa6ed2e926bd3c9275 (diff) | |
download | aur-ecc011171c087b51a0982f2c8b8f9468a49260af.tar.gz |
Remove a patch to move example directory
It's been merged into master.
Signed-off-by: J. Kim <jeongseok.kim@sk.com>
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | 0001-build-Install-examples-into-DOC-directory.patch | 30 | ||||
-rw-r--r-- | PKGBUILD | 13 |
3 files changed, 4 insertions, 43 deletions
@@ -1,6 +1,6 @@ pkgbase = hawktracer-git pkgdesc = HawkTracer - a highly portable, low-overhead, configurable profiling tool (git version) - pkgver = 0.6.0.r59.ga90df7a + pkgver = 0.6.0.r61.ge5b3052 pkgrel = 1 url = https://github.com/loganek/hawktracer arch = i686 @@ -11,9 +11,7 @@ pkgbase = hawktracer-git provides = hawktracer conflicts = hawktracer source = git+https://github.com/loganek/hawktracer.git - source = 0001-build-Install-examples-into-DOC-directory.patch sha512sums = SKIP - sha512sums = b600931bb8e0ff40e6a4a16e80e7e32881f57491fc8bec8658cd863f3b42e3b73ee4c95912adaa0489b41df7681d9e7820b92b4601bcfaa7573b7578faa4b692 pkgname = hawktracer-git diff --git a/0001-build-Install-examples-into-DOC-directory.patch b/0001-build-Install-examples-into-DOC-directory.patch deleted file mode 100644 index 6ba3e3f57e47..000000000000 --- a/0001-build-Install-examples-into-DOC-directory.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 603daa59ef609950cb98bd1941457b2819ad5ff9 Mon Sep 17 00:00:00 2001 -From: "J. Kim" <jeongseok.kim@sk.com> -Date: Wed, 2 Jan 2019 20:58:40 +0900 -Subject: [PATCH] [build] Install examples into DOC directory - -${prefix}/examples is too general location. ---- - CMakeLists.txt | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3797b05..1dee6ea 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -90,7 +90,11 @@ endif(ENABLE_TESTS) - if(ENABLE_EXAMPLES) - add_subdirectory(examples) - endif(ENABLE_EXAMPLES) --install(DIRECTORY examples DESTINATION .) -+if(WIN32 AND NOT CYGWIN) -+ install(DIRECTORY examples DESTINATION doc) -+else() -+ install(DIRECTORY examples DESTINATION share/doc/hawktracer) -+endif() - - if(ENABLE_BENCHMARKS) - add_subdirectory(benchmarks) --- -2.20.1 - @@ -2,7 +2,7 @@ pkgname=hawktracer-git _srcname=hawktracer -pkgver=0.6.0.r59.ga90df7a +pkgver=0.6.0.r61.ge5b3052 pkgrel=1 pkgdesc='HawkTracer - a highly portable, low-overhead, configurable profiling tool (git version)' arch=('i686' 'x86_64') @@ -11,10 +11,8 @@ license=('MIT') makedepends=('git' 'cmake') provides=('hawktracer') conflicts=('hawktracer') -source=('git+https://github.com/loganek/hawktracer.git' - '0001-build-Install-examples-into-DOC-directory.patch') -sha512sums=('SKIP' - 'b600931bb8e0ff40e6a4a16e80e7e32881f57491fc8bec8658cd863f3b42e3b73ee4c95912adaa0489b41df7681d9e7820b92b4601bcfaa7573b7578faa4b692') +source=('git+https://github.com/loganek/hawktracer.git') +sha512sums=('SKIP') pkgver() { cd "$_srcname" @@ -23,11 +21,6 @@ pkgver() { git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' } -prepare() { - cd "$_srcname" - patch -Np1 < ${srcdir}/0001-build-Install-examples-into-DOC-directory.patch -} - build() { cd "$_srcname" |