{"id":23363937,"url":"https://github.com/carch-org/pkgs","last_synced_at":"2026-01-31T03:32:01.423Z","repository":{"id":267336920,"uuid":"900934785","full_name":"carch-org/pkgs","owner":"carch-org","description":"Carch [AUR] Package Builds 📦","archived":false,"fork":false,"pushed_at":"2025-04-13T15:38:59.000Z","size":103,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-13T16:38:14.895Z","etag":null,"topics":["arch","aur","pkgbuilds"],"latest_commit_sha":null,"homepage":"https://carch-org.github.io/docs/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carch-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":"carch","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2024-12-09T18:33:41.000Z","updated_at":"2025-04-13T15:39:03.000Z","dependencies_parsed_at":"2024-12-09T19:35:36.651Z","dependency_job_id":"cb514ddf-567e-4baa-a764-d4db675a2ff3","html_url":"https://github.com/carch-org/pkgs","commit_stats":null,"previous_names":["carch-org/pkgs"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carch-org%2Fpkgs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carch-org%2Fpkgs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carch-org%2Fpkgs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carch-org%2Fpkgs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carch-org","download_url":"https://codeload.github.com/carch-org/pkgs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249066915,"owners_count":21207392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arch","aur","pkgbuilds"],"created_at":"2024-12-21T13:12:42.364Z","updated_at":"2026-01-31T03:32:01.418Z","avatar_url":"https://github.com/carch-org.png","language":"Shell","funding_links":["https://opencollective.com/carch"],"categories":[],"sub_categories":[],"readme":"This repo is mainly dedicated to [Carch](https://github.com/harilvfs/carch) for building and installing the Carch package on Arch, Fedora, and openSUSE.\n\n## Arch Linux\n\nFor Arch, we provide a PKGBUILD that directly grabs the precompiled binary from the latest release.\n\nYou can install Carch using this PKGBUILD:\n\n```sh\ngit clone https://github.com/carch-org/pkgs ~/pkgs\ncd ~/pkgs/carch-bin\nmakepkg -si\n```\n\n## Fedora \u0026 openSUSE\n\nFor Fedora and openSUSE, this repo includes a working spec file to build an RPM package.\nopenSUSE supports RPMs, so the same process works for both.\n\nBelow is a simple guide to build it yourself.\n\n### Install RPM Build Dependencies\n\nInstall all the core tools:\n\n```sh\nsudo dnf install rpm-build rpmdevtools redhat-rpm-config make gcc \\\nfedora-packager gnupg2 rpm-sign createrepo_c git patch tar\n```\n\nAlso install the core build tools for Carch:\n\n```sh\nsudo dnf install cargo git\n```\n\n### Set Up the Build Tree\n\n```sh\nrpmdev-setuptree\n```\n\n\u003e This will create the build directories in `~/rpmbuild`.\n\n### Get the Spec File\n\nDownload the `carch.spec` file into `~/rpmbuild/SPECS/`\n\n```sh\nwget https://github.com/carch-org/pkgs/raw/refs/heads/main/carch.spec ~/rpmbuild/SPECS/\n```\n\nChange to the SPECS directory:\n\n```sh\ncd ~/rpmbuild/SPECS\n```\n\n### Download the Source Files\n\n\u003e Note: Make sure you are in `~/rpmbuild/SPECS/` before running this.\n\n```sh\nspectool -g -R carch.spec\n```\n\n### Build the RPM\n\n```sh\nrpmbuild -ba carch.spec\n```\n\nWait for the build to finish, then go to:\n\n```sh\ncd ~/rpmbuild/RPMS/x86_64/\n```\n\nYou will see the `.rpm` file if the build was successful.\n\n## Add GPG Signature (Recommended)\n\nTo avoid installation warnings (especially on openSUSE), it’s recommended to sign your RPMs.\n\n### Create a GPG Key\n\n```sh\ngpg --full-generate-key\n```\n\nUse a 4096 key size.\nEnter your real name and email; the comment is optional.\n\nList your generated keys:\n\n```sh\ngpg --list-keys\n```\n\nOr with long IDs:\n\n```sh\ngpg --list-keys --keyid-format LONG\n```\n\n### Add Your GPG Name to RPM Macros\n\nEdit (or create) `~/.rpmmacros`:\n\n```sh\necho '%_gpg_name Your Name \u003cyourmailid@gmail.com\u003e' \u003e\u003e ~/.rpmmacros\n```\n\n### Export \u0026 Import the Public Key\n\n\u003e Note: Use your own key like this, don’t copy paste my key that will not work either.\n\nExport your public key:\n\n```sh\ngpg --export --armor 36F67F5CD54828D7574F6FF39DE08866EE317104 \u003e publickey.asc\n```\n\nImport it into the RPM keyring:\n\n```sh\nsudo rpm --import publickey.asc\n```\n\n### Sign the RPM\n\nReplace the filename with your actual RPM:\n\n```sh\nrpmsign --addsign ~/rpmbuild/RPMS/x86_64/carch-5.3.1-1.fc42.x86_64.rpm\n```\n\nYou’ll be asked for the passphrase you set when creating your GPG key.\n\n### Verify the Signature\n\n```sh\nrpm --checksig ~/rpmbuild/RPMS/x86_64/carch-5.3.1-1.fc42.x86_64.rpm\n```\n\nA successful result looks like: \n\n```sh\ncarch-5.3.1-1.fc42.x86_64.rpm: digests signatures OK\n```\n\n## Install the RPM\n\n```sh\nsudo dnf install carch-5.3.1-1.fc42.x86_64.rpm\n```\n\nOr on openSUSE:\n\n```sh\nsudo zypper install carch-5.3.1-1.fc42.x86_64.rpm\n```\n\n\u003e [!IMPORTANT]\n\u003e openSUSE may warn that the package is unsigned if it was signed on Fedora.\n\u003e To avoid this, sign the RPM on openSUSE too.\n\u003e If you sign on openSUSE, the same RPM works fine on Fedora too.\n\u003e If you only care about Fedora, signing on Fedora is enough.\n\nAlso, if you don’t want to sign, you can use `--allow-unsigned-rpm`:\n\n```sh\nsudo zypper install -y --allow-unsigned-rpm *.rpm\n```\n\nI will also release pre-signed RPM packages built on openSUSE in the Carch releases, so you can just grab those directly if you prefer.\n\nThat’s it from my side!\nIf you notice anything missing or incorrect, feel free to contribute a fix.\nThank you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarch-org%2Fpkgs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarch-org%2Fpkgs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarch-org%2Fpkgs/lists"}