aboutsummaryrefslogtreecommitdiff
path: root/core/cpt
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-10 02:07:47 +0300
committerCem Keylan <cem@ckyln.com>2020-09-10 02:07:47 +0300
commit9f9790c0a3d7bdc7497812bda41779da7fa023c3 (patch)
treeda4535da129cfd2823df2b59033e48b9cd18449e /core/cpt
parent634d90575ef36e116fec95059d8e9abf357e275a (diff)
downloadrepository-9f9790c0a3d7bdc7497812bda41779da7fa023c3.tar.gz
cpt: bump to 4.0.0
Diffstat (limited to 'core/cpt')
-rwxr-xr-xcore/cpt/build1
-rw-r--r--core/cpt/checksums3
-rw-r--r--core/cpt/depends1
-rw-r--r--core/cpt/files/cpt_path.sh1
-rwxr-xr-xcore/cpt/post-install2
-rw-r--r--core/cpt/sources3
-rwxr-xr-xcore/cpt/test3
-rw-r--r--core/cpt/version2
8 files changed, 9 insertions, 7 deletions
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