aboutsummaryrefslogtreecommitdiff
path: root/core/cpt
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-16 02:53:37 +0300
committerCem Keylan <cem@ckyln.com>2020-09-16 02:53:37 +0300
commite9f39402c453e1cfebc1105d9515ef30346d6ac0 (patch)
treec6bc2a8125b54cb71cb69de6c879e4b3773d1d36 /core/cpt
parent8e4f3731e893385464f086d9c0cb7853ab050044 (diff)
downloadrepository-e9f39402c453e1cfebc1105d9515ef30346d6ac0.tar.gz
cpt: add news tool for viewing... news
Diffstat (limited to 'core/cpt')
-rwxr-xr-xcore/cpt/build1
-rw-r--r--core/cpt/checksums1
-rw-r--r--core/cpt/files/news4
-rw-r--r--core/cpt/message8
-rw-r--r--core/cpt/sources1
-rw-r--r--core/cpt/version2
6 files changed, 11 insertions, 6 deletions
diff --git a/core/cpt/build b/core/cpt/build
index 08374058..92a0f63c 100755
--- a/core/cpt/build
+++ b/core/cpt/build
@@ -1,3 +1,4 @@
#!/bin/sh -e
make PREFIX=/usr DESTDIR="$1" install
+install -Dm755 news "$1/usr/bin/cpt-news"
diff --git a/core/cpt/checksums b/core/cpt/checksums
index 34651014..3b5adde9 100644
--- a/core/cpt/checksums
+++ b/core/cpt/checksums
@@ -1 +1,2 @@
68a9d43a430360bc6a8c2245c7cde8f04502459dba1d366fd41103910c2fa400 4.1.0.tar.gz
+6813f2db74869f07eceb79421670d6a5ad51c54070f8d19ff1b6fd739297b02c news
diff --git a/core/cpt/files/news b/core/cpt/files/news
new file mode 100644
index 00000000..853d0cae
--- /dev/null
+++ b/core/cpt/files/news
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+# Read news and announcements from Carbs Linux
+
+curl -sfL https://carbslinux.org/news.txt | ${PAGER:-less}
diff --git a/core/cpt/message b/core/cpt/message
index a88bdd77..271062b6 100644
--- a/core/cpt/message
+++ b/core/cpt/message
@@ -1,7 +1,5 @@
-IMPORTANT
+NOTE
- kiss has been replaced with cpt (Carbs Packaging Tools). You will
- have to rename your kiss-related variables from KISS-* to CPT-*.
- Even though usage more or less the same with kiss, you may want to
- check the manual pages (each tool has its own).
+ 'cpt-news' tool was added to see news about the distribution. Feel free to
+ check it out and give your feedback.
diff --git a/core/cpt/sources b/core/cpt/sources
index cb141eab..c7819712 100644
--- a/core/cpt/sources
+++ b/core/cpt/sources
@@ -1 +1,2 @@
https://github.com/carbslinux/cpt/archive/4.1.0.tar.gz
+files/news
diff --git a/core/cpt/version b/core/cpt/version
index 1bc2766f..6a718ca4 100644
--- a/core/cpt/version
+++ b/core/cpt/version
@@ -1 +1 @@
-4.1.0 1
+4.1.0 2