[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2023-09-21 Thread Efe İzbudak
commit: 57cf8e9eded06c5b1daeeed7f1c099dbd97a637a
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Thu Sep 21 07:29:38 2023 +
Commit: Efe İzbudak  metu  edu  tr>
CommitDate: Thu Sep 21 07:29:38 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=57cf8e9e

app-misc/lf: use shell-completion

Signed-off-by: Efe İzbudak  metu.edu.tr>

 app-misc/lf/lf-31.ebuild | 11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/app-misc/lf/lf-31.ebuild b/app-misc/lf/lf-31.ebuild
index 2d460bdafe..b52e89d2ec 100644
--- a/app-misc/lf/lf-31.ebuild
+++ b/app-misc/lf/lf-31.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit go-module bash-completion-r1 desktop xdg
+inherit go-module shell-completion desktop xdg
 
 SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
 SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-deps.tar.xz;
@@ -45,14 +45,11 @@ src_install() {
newbashcomp "etc/${PN}.bash" "${PN}"
 
# zsh-completion
-   insinto /usr/share/zsh/site-functions
-   newins "etc/${PN}.zsh" "_${PN}"
+   newzshcomp "etc/${PN}.zsh" "_${PN}"
 
# fish-completion
-   insinto /usr/share/fish/vendor_completions.d
-   doins "etc/${PN}.fish"
-   insinto /usr/share/fish/vendor_functions.d
-   doins "etc/${PN}cd.fish"
+   dofishcomp "etc/${PN}.fish"
+   dofishcomp "etc/${PN}cd.fish"
 
domenu "${PN}.desktop"
 }



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2023-09-20 Thread Efe İzbudak
commit: 8fcd1721f4d03aaf0a9b091425406c538376ce67
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Wed Sep 20 17:20:46 2023 +
Commit: Efe İzbudak  metu  edu  tr>
CommitDate: Wed Sep 20 17:20:46 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8fcd1721

app-misc/lf: add 31

Signed-off-by: Efe İzbudak  metu.edu.tr>

 app-misc/lf/Manifest |  2 ++
 app-misc/lf/lf-31.ebuild | 58 
 2 files changed, 60 insertions(+)

diff --git a/app-misc/lf/Manifest b/app-misc/lf/Manifest
index 7e003ab879..af949b0d2c 100644
--- a/app-misc/lf/Manifest
+++ b/app-misc/lf/Manifest
@@ -6,3 +6,5 @@ DIST lf-29-deps.tar.xz 16965264 BLAKE2B 
0e57ea4b64d467c307e5a1ec8744d20bd463149b
 DIST lf-29.tar.gz 123717 BLAKE2B 
8fd81c5333c2b4732a3fe72f8f6d92ebf41713128806bd6f4b781ba65430dd8cbee84c12ad1502ef824fb7887ce052b628c8acfe36bcd67d3c37ff0245315d2d
 SHA512 
7e55fa284a491aef1e3a78ac33de74df2c350a750fa87411540a46a2bd663cdec8c46326586e63e3dd2db4a27f6d6042100c57c18a554ebbcebff1356cc9bf32
 DIST lf-30-deps.tar.xz 1141300 BLAKE2B 
fe668d052e6ace68d4c6a0cfdb838a16bee62215a31e297b48b80ad3ae9e154055be60df5b0d5789d4a278ed343d8cf35ce6516abe2e33320272036fddbb5110
 SHA512 
be6622fe040497e71cf505f6e336bd12b31eb85dde929e30d831da7268a34f30baf48730cd40acfb4d88e68f9a12f1fd9949cd58219ba822d626f79100b3ea60
 DIST lf-30.tar.gz 125152 BLAKE2B 
082ddfc2438dd7133a72ed951c093bbf9514cea2b9aa58ed8263d7d759d6112dc14ca811287543bc61f0b79570ed15f69fd561bda34652ec53c8735baa95082d
 SHA512 
2318b8b1ebb92cec5247b3f8819492182085776bc437b223a92377f731f26a85a7b9bf3c475b31ee28ba204cc2e9abf8330e7a64b7d57631da9cb285aa80326d
+DIST lf-31-deps.tar.xz 17010484 BLAKE2B 
3e92a87c1ce48565512456db504cddbb195499c7e02565d35b8d1bb462c19b5e442032ec8bb90191a6f039e9075148e5afb8e4d726a4b800f2c8ca2851a4f6c5
 SHA512 
7cbc7806b89e9fd5d225622ecb974f48971ff7a07b7099d401489b0f0a43604ecaf0454e1a7f4c37130271c943c2966f18187bbe56bcb3afe00bea5096f281df
+DIST lf-31.tar.gz 138687 BLAKE2B 
757d785e24c7f1ad664f81210ab33f8aedca62c5acfe3d8bad140a13c2321155d8c8b9f90da948666315ac1bd2755d92c1b6f01276e078d4b23949da1faade45
 SHA512 
8029c5310d94be853d82b9fe6359853db37340231bd291dddc675d053d020a7a98f17931734bb65022278ccf3ab94513a6fdc0e37986388572fc4afff28e0380

diff --git a/app-misc/lf/lf-31.ebuild b/app-misc/lf/lf-31.ebuild
new file mode 100644
index 00..d027ff90ec
--- /dev/null
+++ b/app-misc/lf/lf-31.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module bash-completion-r1 desktop xdg
+
+SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-deps.tar.xz;
+
+DESCRIPTION="Terminal file manager"
+HOMEPAGE="https://github.com/gokcehan/lf;
+IUSE="+static"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+LICENSE="MIT"
+SLOT="0"
+
+S="${WORKDIR}/${PN}-r${PV}"
+
+src_compile() {
+   local ldflags="-s -w -X main.gVersion=r${PV}"
+   use static && {
+   export CGO_ENABLED=0
+   ldflags+=' -extldflags "-static"'
+   }
+
+   go build -ldflags="${ldflags}" || die 'go build failed'
+}
+
+src_install() {
+   local DOCS=( README.md etc/lfrc.example )
+
+   dobin "${PN}"
+
+   einstalldocs
+
+   doman "${PN}.1"
+
+   # bash & zsh cd script
+   insinto "/usr/share/${PN}"
+   doins "etc/${PN}cd.sh"
+
+   # bash-completion
+   newbashcomp "etc/${PN}.bash" "${PN}"
+
+   # zsh-completion
+   insinto /usr/share/zsh/site-functions
+   newins "etc/${PN}.zsh" "_${PN}"
+
+   # fish-completion
+   insinto /usr/share/fish/vendor_completions.d
+   doins "etc/${PN}.fish"
+   insinto /usr/share/fish/vendor_functions.d
+   doins "etc/${PN}cd.fish"
+
+   domenu "${PN}.desktop"
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2023-09-20 Thread Efe İzbudak
commit: b4ea55cf78e04c4232d4cf16ec74b098c0e51e14
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Wed Sep 20 17:23:17 2023 +
Commit: Efe İzbudak  metu  edu  tr>
CommitDate: Wed Sep 20 17:23:17 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b4ea55cf

app-misc/lf: update EAPI 7 -> 8

Signed-off-by: Efe İzbudak  metu.edu.tr>

 app-misc/lf/lf-31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/lf/lf-31.ebuild b/app-misc/lf/lf-31.ebuild
index d027ff90ec..2d460bdafe 100644
--- a/app-misc/lf/lf-31.ebuild
+++ b/app-misc/lf/lf-31.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit go-module bash-completion-r1 desktop xdg
 



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2023-05-20 Thread Efe İzbudak
commit: 27bfc458aa46aa510d07166e1725909a935f074f
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Sat May 20 14:32:29 2023 +
Commit: Efe İzbudak  metu  edu  tr>
CommitDate: Sat May 20 14:35:58 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=27bfc458

app-misc/lf: add 30

Signed-off-by: Efe İzbudak  metu.edu.tr>

 app-misc/lf/Manifest |  2 ++
 app-misc/lf/lf-30.ebuild | 58 
 2 files changed, 60 insertions(+)

diff --git a/app-misc/lf/Manifest b/app-misc/lf/Manifest
index 5c6409568..7e003ab87 100644
--- a/app-misc/lf/Manifest
+++ b/app-misc/lf/Manifest
@@ -4,3 +4,5 @@ DIST lf-28-deps.tar.xz 28197760 BLAKE2B 
8b89b05b5fec0fcb2e57fb1b6df4e8f5ec5e056d
 DIST lf-28.tar.gz 117374 BLAKE2B 
9f4ef1f51177ce23527aa21021079b45ba729cba58c7aaa9915e9306c2f343d9533e7630a54fd0670b8c869aff042059d672bc4bdc3496637892618b4b90ac36
 SHA512 
ae52248b5934e3c136c54e0df184a6a1d3219f6e6ddebdf7263dc7516f7f1344331d7c5640cb83b7d483f291524a56271b2209454981742bf702b177acfffbc0
 DIST lf-29-deps.tar.xz 16965264 BLAKE2B 
0e57ea4b64d467c307e5a1ec8744d20bd463149be700333dc16266ca23ec05776efe1a86c316d3858518347aa4151d3f1eafb1646db3435176bcc69f84054fc8
 SHA512 
513896887c01c37e6419fb4913ee17be91dd4554d4e0f63355b2c5306f0ddcd939ec5c58c6885fb8c2ef95cfbba349e5f06d78e2ef9da497504e1e591bb0f831
 DIST lf-29.tar.gz 123717 BLAKE2B 
8fd81c5333c2b4732a3fe72f8f6d92ebf41713128806bd6f4b781ba65430dd8cbee84c12ad1502ef824fb7887ce052b628c8acfe36bcd67d3c37ff0245315d2d
 SHA512 
7e55fa284a491aef1e3a78ac33de74df2c350a750fa87411540a46a2bd663cdec8c46326586e63e3dd2db4a27f6d6042100c57c18a554ebbcebff1356cc9bf32
+DIST lf-30-deps.tar.xz 1141300 BLAKE2B 
fe668d052e6ace68d4c6a0cfdb838a16bee62215a31e297b48b80ad3ae9e154055be60df5b0d5789d4a278ed343d8cf35ce6516abe2e33320272036fddbb5110
 SHA512 
be6622fe040497e71cf505f6e336bd12b31eb85dde929e30d831da7268a34f30baf48730cd40acfb4d88e68f9a12f1fd9949cd58219ba822d626f79100b3ea60
+DIST lf-30.tar.gz 125152 BLAKE2B 
082ddfc2438dd7133a72ed951c093bbf9514cea2b9aa58ed8263d7d759d6112dc14ca811287543bc61f0b79570ed15f69fd561bda34652ec53c8735baa95082d
 SHA512 
2318b8b1ebb92cec5247b3f8819492182085776bc437b223a92377f731f26a85a7b9bf3c475b31ee28ba204cc2e9abf8330e7a64b7d57631da9cb285aa80326d

diff --git a/app-misc/lf/lf-30.ebuild b/app-misc/lf/lf-30.ebuild
new file mode 100644
index 0..d027ff90e
--- /dev/null
+++ b/app-misc/lf/lf-30.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module bash-completion-r1 desktop xdg
+
+SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-deps.tar.xz;
+
+DESCRIPTION="Terminal file manager"
+HOMEPAGE="https://github.com/gokcehan/lf;
+IUSE="+static"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+LICENSE="MIT"
+SLOT="0"
+
+S="${WORKDIR}/${PN}-r${PV}"
+
+src_compile() {
+   local ldflags="-s -w -X main.gVersion=r${PV}"
+   use static && {
+   export CGO_ENABLED=0
+   ldflags+=' -extldflags "-static"'
+   }
+
+   go build -ldflags="${ldflags}" || die 'go build failed'
+}
+
+src_install() {
+   local DOCS=( README.md etc/lfrc.example )
+
+   dobin "${PN}"
+
+   einstalldocs
+
+   doman "${PN}.1"
+
+   # bash & zsh cd script
+   insinto "/usr/share/${PN}"
+   doins "etc/${PN}cd.sh"
+
+   # bash-completion
+   newbashcomp "etc/${PN}.bash" "${PN}"
+
+   # zsh-completion
+   insinto /usr/share/zsh/site-functions
+   newins "etc/${PN}.zsh" "_${PN}"
+
+   # fish-completion
+   insinto /usr/share/fish/vendor_completions.d
+   doins "etc/${PN}.fish"
+   insinto /usr/share/fish/vendor_functions.d
+   doins "etc/${PN}cd.fish"
+
+   domenu "${PN}.desktop"
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2023-05-03 Thread Efe İzbudak
commit: b782da03b1d821daf6de39a83e1eb4efe700fb86
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Thu May  4 04:11:53 2023 +
Commit: Efe İzbudak  metu  edu  tr>
CommitDate: Thu May  4 04:11:53 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b782da03

app-misc/lf: fix metadata.xml indent

Signed-off-by: Efe İzbudak  metu.edu.tr>

 app-misc/lf/metadata.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/lf/metadata.xml b/app-misc/lf/metadata.xml
index deda325ad..b21e77881 100644
--- a/app-misc/lf/metadata.xml
+++ b/app-misc/lf/metadata.xml
@@ -7,8 +7,8 @@


efe.izbu...@metu.edu.tr
-   Efe İzbudak
-
+   Efe İzbudak
+   

gokcehan/lf




[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2023-05-03 Thread Efe İzbudak
commit: 4ade818fd4f87120d33ad0755292903dc485256b
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Thu May  4 03:03:50 2023 +
Commit: Efe İzbudak  metu  edu  tr>
CommitDate: Thu May  4 04:10:40 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4ade818f

app-misc/lf: add 29

Signed-off-by: Efe İzbudak  metu.edu.tr>

 app-misc/lf/Manifest |  2 ++
 app-misc/lf/lf-29.ebuild | 58 
 app-misc/lf/metadata.xml | 14 ++--
 3 files changed, 67 insertions(+), 7 deletions(-)

diff --git a/app-misc/lf/Manifest b/app-misc/lf/Manifest
index d83a5cb7e..5c6409568 100644
--- a/app-misc/lf/Manifest
+++ b/app-misc/lf/Manifest
@@ -2,3 +2,5 @@ DIST lf-27-deps.tar.xz 12602056 BLAKE2B 
fec475a83988080468c8daabd4076a16f58eec61
 DIST lf-27.tar.gz 112266 BLAKE2B 
e03cd38042661d35dd7d110894fe7ca4866e491c810e76d6cfe1d34efedbda5f2b4b6e626ab72c72450252dca8f82c3e1804a686e7437d6f7475f3b9fa0ca796
 SHA512 
1a9cd0a3206f01f75a9ea0dbef4fcd3a2e28e9d283b19c74e821c5e90229b9ff64524e9d151dec44d9b2c06b3f8b424c4053034b58bcc7fa38345ce7c662f013
 DIST lf-28-deps.tar.xz 28197760 BLAKE2B 
8b89b05b5fec0fcb2e57fb1b6df4e8f5ec5e056dbd2dd126978fc5786b9c38e154817092262aed28e77c3c3b9d1f63539e50ee46a63615ed1bf7a1d46cb828ed
 SHA512 
9a0302ba1278ad292beae0168baa1b70c767fd366ec483abc18a1e561cf4b850c18cf2b1a7fe7a5e3d2c10fbf37d1e89e2bf13a0083870748e00f3fd0336a7b4
 DIST lf-28.tar.gz 117374 BLAKE2B 
9f4ef1f51177ce23527aa21021079b45ba729cba58c7aaa9915e9306c2f343d9533e7630a54fd0670b8c869aff042059d672bc4bdc3496637892618b4b90ac36
 SHA512 
ae52248b5934e3c136c54e0df184a6a1d3219f6e6ddebdf7263dc7516f7f1344331d7c5640cb83b7d483f291524a56271b2209454981742bf702b177acfffbc0
+DIST lf-29-deps.tar.xz 16965264 BLAKE2B 
0e57ea4b64d467c307e5a1ec8744d20bd463149be700333dc16266ca23ec05776efe1a86c316d3858518347aa4151d3f1eafb1646db3435176bcc69f84054fc8
 SHA512 
513896887c01c37e6419fb4913ee17be91dd4554d4e0f63355b2c5306f0ddcd939ec5c58c6885fb8c2ef95cfbba349e5f06d78e2ef9da497504e1e591bb0f831
+DIST lf-29.tar.gz 123717 BLAKE2B 
8fd81c5333c2b4732a3fe72f8f6d92ebf41713128806bd6f4b781ba65430dd8cbee84c12ad1502ef824fb7887ce052b628c8acfe36bcd67d3c37ff0245315d2d
 SHA512 
7e55fa284a491aef1e3a78ac33de74df2c350a750fa87411540a46a2bd663cdec8c46326586e63e3dd2db4a27f6d6042100c57c18a554ebbcebff1356cc9bf32

diff --git a/app-misc/lf/lf-29.ebuild b/app-misc/lf/lf-29.ebuild
new file mode 100644
index 0..d027ff90e
--- /dev/null
+++ b/app-misc/lf/lf-29.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module bash-completion-r1 desktop xdg
+
+SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-deps.tar.xz;
+
+DESCRIPTION="Terminal file manager"
+HOMEPAGE="https://github.com/gokcehan/lf;
+IUSE="+static"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+LICENSE="MIT"
+SLOT="0"
+
+S="${WORKDIR}/${PN}-r${PV}"
+
+src_compile() {
+   local ldflags="-s -w -X main.gVersion=r${PV}"
+   use static && {
+   export CGO_ENABLED=0
+   ldflags+=' -extldflags "-static"'
+   }
+
+   go build -ldflags="${ldflags}" || die 'go build failed'
+}
+
+src_install() {
+   local DOCS=( README.md etc/lfrc.example )
+
+   dobin "${PN}"
+
+   einstalldocs
+
+   doman "${PN}.1"
+
+   # bash & zsh cd script
+   insinto "/usr/share/${PN}"
+   doins "etc/${PN}cd.sh"
+
+   # bash-completion
+   newbashcomp "etc/${PN}.bash" "${PN}"
+
+   # zsh-completion
+   insinto /usr/share/zsh/site-functions
+   newins "etc/${PN}.zsh" "_${PN}"
+
+   # fish-completion
+   insinto /usr/share/fish/vendor_completions.d
+   doins "etc/${PN}.fish"
+   insinto /usr/share/fish/vendor_functions.d
+   doins "etc/${PN}cd.fish"
+
+   domenu "${PN}.desktop"
+}

diff --git a/app-misc/lf/metadata.xml b/app-misc/lf/metadata.xml
index a4aa927e7..deda325ad 100644
--- a/app-misc/lf/metadata.xml
+++ b/app-misc/lf/metadata.xml
@@ -1,13 +1,13 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-svdm-gen...@protonmail.com
-Simon van der Maas
-
-
-efe.izbu...@metu.edu.tr
-Efe İzbudak
+   
+   svdm-gen...@protonmail.com
+   Simon van der Maas
+   
+   
+   efe.izbu...@metu.edu.tr
+   Efe İzbudak
 

gokcehan/lf



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2023-04-11 Thread Jonas Frei
commit: 6469064f63519df708011031c78171dc0455b036
Author: Jonas Frei  pm  me>
AuthorDate: Wed Apr 12 03:52:53 2023 +
Commit: Jonas Frei  pm  me>
CommitDate: Wed Apr 12 04:01:19 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6469064f

app-misc/lf: EAPI 7->8, use 'shell-completion' eclass

Signed-off-by: Jonas Frei  pm.me>

 app-misc/lf/{lf-28.ebuild => lf-28-r1.ebuild} | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/app-misc/lf/lf-28.ebuild b/app-misc/lf/lf-28-r1.ebuild
similarity index 80%
rename from app-misc/lf/lf-28.ebuild
rename to app-misc/lf/lf-28-r1.ebuild
index d027ff90e..3a08167a5 100644
--- a/app-misc/lf/lf-28.ebuild
+++ b/app-misc/lf/lf-28-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit go-module bash-completion-r1 desktop xdg
+inherit go-module desktop shell-completion xdg
 
 SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
 SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-deps.tar.xz;
@@ -45,12 +45,10 @@ src_install() {
newbashcomp "etc/${PN}.bash" "${PN}"
 
# zsh-completion
-   insinto /usr/share/zsh/site-functions
-   newins "etc/${PN}.zsh" "_${PN}"
+   newzshcomp "etc/${PN}.zsh" "_${PN}"
 
# fish-completion
-   insinto /usr/share/fish/vendor_completions.d
-   doins "etc/${PN}.fish"
+   dofishcomp "etc/${PN}.fish"
insinto /usr/share/fish/vendor_functions.d
doins "etc/${PN}cd.fish"
 



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2022-12-24 Thread Efe İzbudak
commit: c9cf86438bc72ebcb21ad616133fe4291542f354
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Sat Dec 24 21:03:06 2022 +
Commit: Efe İzbudak  metu  edu  tr>
CommitDate: Sat Dec 24 21:04:50 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c9cf8643

app-misc/lf: add 28

Signed-off-by: Efe İzbudak  metu.edu.tr>

 app-misc/lf/Manifest |  2 ++
 app-misc/lf/lf-28.ebuild | 58 
 app-misc/lf/metadata.xml |  3 +++
 3 files changed, 63 insertions(+)

diff --git a/app-misc/lf/Manifest b/app-misc/lf/Manifest
index 2e6f994db..d83a5cb7e 100644
--- a/app-misc/lf/Manifest
+++ b/app-misc/lf/Manifest
@@ -1,2 +1,4 @@
 DIST lf-27-deps.tar.xz 12602056 BLAKE2B 
fec475a83988080468c8daabd4076a16f58eec610d71ad46ad7e5adf146c70d2e2ec78ede22c62b3353e668fd24f102c82a4b27f768153b4d003854734f92428
 SHA512 
74e3cbc98746669bc7f57bcf0b9a2d196795f0c8b011b33f1cf8afed7b7f3ef971c002df3f83985ca68b7980b4beec71569357123dbc31219542a04ff63295cd
 DIST lf-27.tar.gz 112266 BLAKE2B 
e03cd38042661d35dd7d110894fe7ca4866e491c810e76d6cfe1d34efedbda5f2b4b6e626ab72c72450252dca8f82c3e1804a686e7437d6f7475f3b9fa0ca796
 SHA512 
1a9cd0a3206f01f75a9ea0dbef4fcd3a2e28e9d283b19c74e821c5e90229b9ff64524e9d151dec44d9b2c06b3f8b424c4053034b58bcc7fa38345ce7c662f013
+DIST lf-28-deps.tar.xz 28197760 BLAKE2B 
8b89b05b5fec0fcb2e57fb1b6df4e8f5ec5e056dbd2dd126978fc5786b9c38e154817092262aed28e77c3c3b9d1f63539e50ee46a63615ed1bf7a1d46cb828ed
 SHA512 
9a0302ba1278ad292beae0168baa1b70c767fd366ec483abc18a1e561cf4b850c18cf2b1a7fe7a5e3d2c10fbf37d1e89e2bf13a0083870748e00f3fd0336a7b4
+DIST lf-28.tar.gz 117374 BLAKE2B 
9f4ef1f51177ce23527aa21021079b45ba729cba58c7aaa9915e9306c2f343d9533e7630a54fd0670b8c869aff042059d672bc4bdc3496637892618b4b90ac36
 SHA512 
ae52248b5934e3c136c54e0df184a6a1d3219f6e6ddebdf7263dc7516f7f1344331d7c5640cb83b7d483f291524a56271b2209454981742bf702b177acfffbc0

diff --git a/app-misc/lf/lf-28.ebuild b/app-misc/lf/lf-28.ebuild
new file mode 100644
index 0..d027ff90e
--- /dev/null
+++ b/app-misc/lf/lf-28.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module bash-completion-r1 desktop xdg
+
+SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-deps.tar.xz;
+
+DESCRIPTION="Terminal file manager"
+HOMEPAGE="https://github.com/gokcehan/lf;
+IUSE="+static"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+LICENSE="MIT"
+SLOT="0"
+
+S="${WORKDIR}/${PN}-r${PV}"
+
+src_compile() {
+   local ldflags="-s -w -X main.gVersion=r${PV}"
+   use static && {
+   export CGO_ENABLED=0
+   ldflags+=' -extldflags "-static"'
+   }
+
+   go build -ldflags="${ldflags}" || die 'go build failed'
+}
+
+src_install() {
+   local DOCS=( README.md etc/lfrc.example )
+
+   dobin "${PN}"
+
+   einstalldocs
+
+   doman "${PN}.1"
+
+   # bash & zsh cd script
+   insinto "/usr/share/${PN}"
+   doins "etc/${PN}cd.sh"
+
+   # bash-completion
+   newbashcomp "etc/${PN}.bash" "${PN}"
+
+   # zsh-completion
+   insinto /usr/share/zsh/site-functions
+   newins "etc/${PN}.zsh" "_${PN}"
+
+   # fish-completion
+   insinto /usr/share/fish/vendor_completions.d
+   doins "etc/${PN}.fish"
+   insinto /usr/share/fish/vendor_functions.d
+   doins "etc/${PN}cd.fish"
+
+   domenu "${PN}.desktop"
+}

diff --git a/app-misc/lf/metadata.xml b/app-misc/lf/metadata.xml
index 6266ea874..ea90d84eb 100644
--- a/app-misc/lf/metadata.xml
+++ b/app-misc/lf/metadata.xml
@@ -9,4 +9,7 @@
 efe.izbu...@metu.edu.tr
 Efe İzbudak
 
+   
+   gokcehan/lf
+   
 



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2022-08-29 Thread Efe İzbudak
commit: 7f836072cf13bcbf520ba9858c3a8f83438fcfad
Author: Efe İzbudak  metu  edu  tr>
AuthorDate: Mon Aug 29 16:38:05 2022 +
Commit: Efe İzbudak  metu  edu  tr>
CommitDate: Mon Aug 29 16:38:25 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f836072

app-misc/lf: update SRC_URI

Signed-off-by: Efe İzbudak  metu.edu.tr>

 app-misc/lf/lf-27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/lf/lf-27.ebuild b/app-misc/lf/lf-27.ebuild
index 44760a8af..d027ff90e 100644
--- a/app-misc/lf/lf-27.ebuild
+++ b/app-misc/lf/lf-27.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 inherit go-module bash-completion-r1 desktop xdg
 
 SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://github.com/cantcuckthis/gentoo-lf/raw/main/${P}-deps.tar.xz;
+SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-deps.tar.xz;
 
 DESCRIPTION="Terminal file manager"
 HOMEPAGE="https://github.com/gokcehan/lf;



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2021-02-16 Thread Simon van der Maas
commit: 1d5b22ec60e28c5d5cc23c1917b0263a24b1e9b2
Author: Simon van der Maas  protonmail  com>
AuthorDate: Tue Feb 16 20:59:44 2021 +
Commit: Simon van der Maas  protonmail  com>
CommitDate: Tue Feb 16 20:59:44 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d5b22ec

app-misc/lf: fixed ebuild

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Simon van der Maas  protonmail.com>

 app-misc/lf/lf-20.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-misc/lf/lf-20.ebuild b/app-misc/lf/lf-20.ebuild
index e75901ce..36aa78f3 100644
--- a/app-misc/lf/lf-20.ebuild
+++ b/app-misc/lf/lf-20.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit go-module golang-build
+inherit go-module
 
 EGO_SUM=(
 "github.com/gdamore/encoding v1.0.0"
@@ -40,9 +40,11 @@ S="${WORKDIR}/lf-r${PV}"
 EGO_PN=github.com/gokcehan/lf
 
 src_compile() {
-   go build
+   go build -x || die
 }
 
 src_install() {
dobin "lf"
+   einstalldocs
+   doman "lf.1"
 }



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/lf/

2021-02-16 Thread Simon van der Maas
commit: 25112c872fbac334a11da263039e67b5898da079
Author: Simon van der Maas  protonmail  com>
AuthorDate: Tue Feb 16 20:19:19 2021 +
Commit: Simon van der Maas  protonmail  com>
CommitDate: Tue Feb 16 20:20:55 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=25112c87

app-misc/lf: new package

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Simon van der Maas  protonmail.com>

 app-misc/lf/Manifest | 16 
 app-misc/lf/lf-20.ebuild | 48 
 app-misc/lf/metadata.xml |  8 
 3 files changed, 72 insertions(+)

diff --git a/app-misc/lf/Manifest b/app-misc/lf/Manifest
new file mode 100644
index ..363138a0
--- /dev/null
+++ b/app-misc/lf/Manifest
@@ -0,0 +1,16 @@
+DIST github.com%2Fgdamore%2Fencoding%2F@v%2Fv1.0.0.mod 77 BLAKE2B 
1b81c4c20a890027242b50f1566f4dfdaf120ee26d3dc56d0c2b6465df2ba79b208289eb40c3d7b666a4e7e874210f59aea545d5125c9a55c5597a3ca7f37feb
 SHA512 
fb153c4e481c073133f0c933c67eba8a1f160ab146921f2c77125b6ff5c348cea57e3a5701a557c8db2212d32e3cba1c09b9509210660c17b66c2a45ba97cb75
+DIST github.com%2Fgdamore%2Fencoding%2F@v%2Fv1.0.0.zip 19867 BLAKE2B 
a772206ce6dc48b32d7125a25b26694325d367ebcbad85466b2e6cfdb9fc9f0e08b98b7ecede5397344e5f7e623c4c76edcf69dcee99917adccf5b31aad80bf8
 SHA512 
127767c725e376b43fe4e2003ddc12fe89693d6d7e52b01e6d47d73fd04496decc0fd60b64c7a65303428e00a52ece1848610ea35231789a814187ef8503bee3
+DIST github.com%2Fgdamore%2Ftcell%2Fv2%2F@v%2Fv2.0.0.mod 253 BLAKE2B 
972ed39f4848b39eac6662d8f0f3dfc1ff4ec14f5da35fb8c41ada758932df35d4bdc1cf1fd91e54626ae74fc1cdfbbaf93261d793ce828f6a08d0120b5168ed
 SHA512 
8d9fcc68e635c163c1f3f29367988ed5af2d3a2a9acd0c142cc95571bb920618d09e828aa0bf26718c330e5e199d66f2c6c618cab20618ca00be284b013dd833
+DIST github.com%2Fgdamore%2Ftcell%2Fv2%2F@v%2Fv2.0.0.zip 219838 BLAKE2B 
e6d587643ad89f8428931a5aa9dd085a028bf5de1ae01ee5cb9e54b93cb760b81be79f54d2f555afeffe5846915f11f58037be20948e782e3089e0f2937ee3bf
 SHA512 
6992b07bfe24152dd8b867bef52be9fdd17da27d0007ed4fc1c3701d3060bbc71854709ce74456a8d280949abd5b3224f1daf92f18c4a36b89bb78ccbbb16aac
+DIST github.com%2Flucasb-eyer%2Fgo-colorful%2F@v%2Fv1.0.3.mod 51 BLAKE2B 
be532e33c9a0e83b9d0b760b21d97ac83850299adb329f754f31e4b46dc7fb7a7157d2a41cdc258924ef8ee5c111a95ac3b0037d749cc936e1988a46612522cd
 SHA512 
270b19446ac9a396f5ce7a000873928a44edb1457f86d294971dae08be37cd64ddb8edc0293e100ee60d56c504851aa69ab11db0b4cfd46649c5f79459e40011
+DIST github.com%2Flucasb-eyer%2Fgo-colorful%2F@v%2Fv1.0.3.zip 442291 BLAKE2B 
02ee4982a588e0fd1575206340bd97663147459664a2942edf151c4aec2bd20da83984c68c76e1c505c1ef930b77f934a8210f6c0ca106a0c0c91ff63733b92d
 SHA512 
8e275955eb9e5034c155c6e469e2a3117bee30fbe42e8ae394f496b83f473a1568847707707716dd5a3c57dd0e0a4bb4f4cc9af04940218ce24420493e923f14
+DIST github.com%2Fmattn%2Fgo-runewidth%2F@v%2Fv0.0.7.mod 45 BLAKE2B 
a7d3b1ffaf20b96cc98161ea6756d62d8380e7557859606dc7975b3de91a2d4142932d5008caf40b41d8ff2ac1ff33f672dbfac351f3e518922a036d7c116a93
 SHA512 
0cfd4101dd8ed90f80b7f4ce2928cd322b93855764abae65d66c5ff9888a7c8aec6ee6581c7f05d1c80db5c78003ee2afc8537fda8a3855e2349bfb8267aba61
+DIST github.com%2Fmattn%2Fgo-runewidth%2F@v%2Fv0.0.9.mod 45 BLAKE2B 
a7d3b1ffaf20b96cc98161ea6756d62d8380e7557859606dc7975b3de91a2d4142932d5008caf40b41d8ff2ac1ff33f672dbfac351f3e518922a036d7c116a93
 SHA512 
0cfd4101dd8ed90f80b7f4ce2928cd322b93855764abae65d66c5ff9888a7c8aec6ee6581c7f05d1c80db5c78003ee2afc8537fda8a3855e2349bfb8267aba61
+DIST github.com%2Fmattn%2Fgo-runewidth%2F@v%2Fv0.0.9.zip 20005 BLAKE2B 
c0f71323efd262296b78867d2b387a74491cfae3f4498e0dd22c036b20dd6fc1b6569171eebf267effd140ec009527fa5ccbcedda4f8cebab2679582766331ea
 SHA512 
fad08292597cbd4a359e06f85bc7cc37b3d3d84b8046e47828259e36872063069c4ab17b7c89f2a5de4b5d0ab1ca5cc66cc515847a7887339a3a04b5f44e3c92
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190626150813-e07cf5db2756.mod 33 
BLAKE2B 
8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148
 SHA512 
0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190626150813-e07cf5db2756.zip 
1810550 BLAKE2B 
e0bcc6235d88e1728797c178d10261e851b18814ecad679674349596f5fc0aa2784b0b4fee440488ffe8188b47dbf8474e5a5078b1220188ac6c25b0c371068d
 SHA512 
98442115bb11ccc8061eb7c39e2e7efcc809d45ed6051456d6ec5439e20823b4b4d2ce16f4ba02530b58f74e9c1b9f3bf0d3dd0b4327b1b8158f395022ab2d80
+DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 
31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0
 SHA512 
ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
+DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.zip 6349244 BLAKE2B