Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUR support #2

Open
Master811129 opened this issue Dec 3, 2022 · 2 comments
Open

AUR support #2

Master811129 opened this issue Dec 3, 2022 · 2 comments

Comments

@Master811129
Copy link
Contributor

Master811129 commented Dec 3, 2022

Hello thank you for the amazing project. can you put it inside AUR? It makes the installation
and more importantly updating process much easier for us Arch linux users.

here is a template to get started. Basically it's a simple bash script:
This gives you more detail

$ cat /usr/share/pacman/PKGBUILD.proto

# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Your Name <[email protected]>
pkgname=gempyre
pkgver=VERSION
pkgrel=1
epoch=
pkgdesc="Gempyre is a UI multiplatform framework. Supporting Windows, Mac OSX, Linux, Raspberry OS and Android."
arch=(x86_64)
url="https://github.com/mmertama/Gempyre"
license=('MIT')
groups=()
depends=(gcc)
makedepends=(gcc)
checkdepends=()
optdepends=()
provides=(gempyre)
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname-$pkgver.tar.gz"
        "$pkgname-$pkgver.patch")
noextract=()
md5sums=()
validpgpkeys=()

prepare() {
        cd "$pkgname-$pkgver"
        patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
}

build() {
        cd "$pkgname-$pkgver"
        ./configure --prefix=/usr
        make
}

check() {
        cd "$pkgname-$pkgver"
        make -k check
}

package() {
        cd "$pkgname-$pkgver"
        make DESTDIR="$pkgdir/" install
}

BTW please go for snake_style a lot of libraries including std use this style in C/C++. having both styles in a source code isn't pretty at all ❤️

@mmertama
Copy link
Owner

to-snake is about there, old camel API is now deprecated.
package manager(s) support is on my list

@Master811129
Copy link
Contributor Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants