From 9f9790c0a3d7bdc7497812bda41779da7fa023c3 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Thu, 10 Sep 2020 02:07:47 +0300 Subject: cpt: bump to 4.0.0 --- core/cpt/build | 1 - core/cpt/checksums | 3 +-- core/cpt/depends | 1 + core/cpt/files/cpt_path.sh | 1 - core/cpt/post-install | 2 ++ core/cpt/sources | 3 +-- core/cpt/test | 3 +++ core/cpt/version | 2 +- 8 files changed, 9 insertions(+), 7 deletions(-) delete mode 100644 core/cpt/files/cpt_path.sh create mode 100755 core/cpt/test diff --git a/core/cpt/build b/core/cpt/build index 4fd28dbc..08374058 100755 --- a/core/cpt/build +++ b/core/cpt/build @@ -1,4 +1,3 @@ #!/bin/sh -e -install -Dm755 cpt_path.sh "$1/etc/profile.d/cpt_path.sh" make PREFIX=/usr DESTDIR="$1" install diff --git a/core/cpt/checksums b/core/cpt/checksums index 710aec21..1d78195a 100644 --- a/core/cpt/checksums +++ b/core/cpt/checksums @@ -1,2 +1 @@ -e7baa48f4f988586e6b8261789a0213c586207f931811db6c66dcb26c308c3cd 3.3.1.tar.gz -b80299c6f27622399b3243bf46eeade6137b1c9803933539cf42f5599a612e5a cpt_path.sh +d2c9641b467ec91a6696c8fc0a5442d28e17f83d18f74c1fb8b3f02494ed9364 4.0.0.tar.gz diff --git a/core/cpt/depends b/core/cpt/depends index a615eba9..f97116a9 100644 --- a/core/cpt/depends +++ b/core/cpt/depends @@ -1,2 +1,3 @@ curl rsync +shellcheck-bin test diff --git a/core/cpt/files/cpt_path.sh b/core/cpt/files/cpt_path.sh deleted file mode 100644 index 6531d3e8..00000000 --- a/core/cpt/files/cpt_path.sh +++ /dev/null @@ -1 +0,0 @@ -export CPT_PATH=/var/db/cpt/repo/core:/var/db/cpt/repo/extra:/var/db/cpt/repo/xorg diff --git a/core/cpt/post-install b/core/cpt/post-install index 5fbbc8e7..ce9e0890 100755 --- a/core/cpt/post-install +++ b/core/cpt/post-install @@ -1,5 +1,7 @@ #!/bin/sh +grep '\.la$' "$CPT_ROOT/var/db/cpt/installed/"*/manifest || exit 0 + find "$CPT_ROOT/usr/lib" \ ! -type d \ -name '*.la' \ diff --git a/core/cpt/sources b/core/cpt/sources index c1f2972f..747b37a2 100644 --- a/core/cpt/sources +++ b/core/cpt/sources @@ -1,2 +1 @@ -https://github.com/carbslinux/cpt/archive/3.3.1.tar.gz -files/cpt_path.sh +https://github.com/carbslinux/cpt/archive/4.0.0.tar.gz diff --git a/core/cpt/test b/core/cpt/test new file mode 100755 index 00000000..dcff1912 --- /dev/null +++ b/core/cpt/test @@ -0,0 +1,3 @@ +#!/bin/sh -e + +make test diff --git a/core/cpt/version b/core/cpt/version index a0fab29c..f5e1c911 100644 --- a/core/cpt/version +++ b/core/cpt/version @@ -1 +1 @@ -3.3.1 1 +4.0.0 1 -- cgit v1.2.3