A => README.md +9 -0
@@ 1,9 @@
+# foo
+
+personal gentoo ebuilds.
+
+## Go
+
+Make sure to publish a vendor file: https://wiki.gentoo.org/wiki/Writing_go_Ebuilds#Vendor_tarball
+
+Make sure the file path is $packagename-$pkgver/vendor in the tarball
A => app-admin/superd/Manifest +2 -0
@@ 1,2 @@
+DIST superd-0.7-vendor.tar.xz 494212 BLAKE2B 0c999f907384c05311009f4a8ed47619d193c6cfdace311495b250121e66b77a58074fc790faefd757c0bb28af6f7b1313e884387a12a369b958e08b1757befc SHA512 0aedf39b8a79f23d6f16d09c443fbeba53dfb8b02f64e9cb3273163e46afc889a996d306288c859bc457cfce740b5061d86bc076a4e613e22596c17fb4e22fe9
+DIST superd-0.7.tar.gz 60926 BLAKE2B 41a207bd9a2d4e7fe376de7ab6b1957caa354ff8caa39378507794aab623d4058b1b50c65de4c4cd1bb886668a6b72e0c1f8feb22c65a7e7fdbd819931c19a93 SHA512 abbe40a0e47973d885f3a0270668c29cdf83f6641d6fd21c2ec79789b9877c9cb9a5be88f8f3fabe618cba70ffa97c5a19b87d79b2422a483732ad73ac8a8fa9
A => app-admin/superd/superd-0.7.ebuild +50 -0
@@ 1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module xdg
+
+DESCRIPTION="a user service supervisor"
+HOMEPAGE="https://sr.ht/~craftyguy/superd/"
+
+SRC_URI="https://git.sr.ht/~craftyguy/superd/archive/0.7.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://git.sr.ht/~anjan/vendors/blob/main/superd-0.7-vendor.tar.xz"
+
+# Source directory; the dir where the sources can be found (automatically
+# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
+# If you don't need to change it, leave the S= line out of the ebuild
+# to keep it tidy.
+
+S="${WORKDIR}/${P}"
+
+LICENSE="GPL-3.0-or-later"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+BDEPEND="dev-lang/go
+ app-text/scdoc"
+
+src_unpack() {
+ go-module_src_unpack
+}
+
+src_compile() {
+ unset LDFLAGS
+ emake PREFIX="${EPREFIX}/usr" VERSION=${PV} all
+}
+
+src_test() {
+ #make test
+ #Tests broken
+ echo "tests broken"
+}
+
+src_install() {
+ emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
A => metadata/layout.conf +4 -0
@@ 1,4 @@
+masters = gentoo
+thin-manifests = true
+sign-manifests = false
+auto-sync=false
A => profiles/repo_name +1 -0