upg geany-gtk2

add geany-gtk3-git
This commit is contained in:
joborun linux 2023-10-23 14:35:00 +03:00
parent 47bd05a3fb
commit a6084600a7
10 changed files with 190 additions and 0 deletions

46
geany-gtk2/PKGBUILD Normal file
View file

@ -0,0 +1,46 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
_pkgname=geany
pkgname=geany-gtk2
pkgver=1.37.1
#2.0.0.r8.gba9190284 needs gtk3
pkgrel=03
pkgdesc="Fast and lightweight IDE last of gtk2"
url="http://github.com/geany/geany"
depends=('gtk2' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('git' 'automake' 'autoconf' 'intltool')
conflicts=('geany' 'geany-gtk2-git')
provides=('geany')
_commit=4a78da4ed9ac048d81d01f293ff120dd156a7338 # tags/1.37.1
source=("${_pkgname}"::"git+https://github.com/geany/geany.git#commit=$_commit")
#pkgver() {
# cd "${srcdir}/${_pkgname}"
# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
#}
build() {
cd "${srcdir}/${_pkgname}"
./autogen.sh --prefix=/usr --disable-html-docs --enable-gtk2 --disable-gtk3
make
}
package() {
cd "${srcdir}/${_pkgname}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL2')
sha256sums=(SKIP)
## e810064e8abc9e499d445d19f0750cd2a601d75e6aca4c94cc306ddd171d828c geany-gtk2-1.37.1-03-x86_64.pkg.tar.lz

32
geany-gtk2/PKGBUILD-aur Normal file
View file

@ -0,0 +1,32 @@
# Contributor: Amiad <amiadb at gmail dot com>
_pkgname=geany
pkgname=geany-gtk2-git
pkgver=1.37.1.r0.g26f4813f0
pkgrel=1
pkgdesc="Fast and lightweight IDE (git version)"
arch=('x86_64' 'i686')
url="http://github.com/geany/geany"
license=('GPL2')
depends=('gtk2' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('git' 'automake' 'autoconf' 'intltool')
conflicts=('geany')
provides=('geany')
source=("${pkgname}"::"git+https://github.com/geany/geany.git#branch=1.37")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
./autogen.sh --prefix=/usr --disable-html-docs --enable-gtk2
make
}
package() {
cd "${srcdir}/${pkgname}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}

2
geany-gtk2/clean Normal file
View file

@ -0,0 +1,2 @@
rm -rf {src,pkg,geany}

9
geany-gtk2/deps Normal file
View file

@ -0,0 +1,9 @@
gtk2
hicolor-icon-theme
desktop-file-utils
git
automake
autoconf
intltool
at-spi2-core
gettext

6
geany-gtk2/time Normal file
View file

@ -0,0 +1,6 @@
real 3m22.885s
user 3m13.400s
sys 0m12.993s

45
geany-gtk3/PKGBUILD Normal file
View file

@ -0,0 +1,45 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
_pkgname=geany
pkgname=geany-gtk3
### last gtk2 optional build was with 1.37.1 from 1.38 gtk3 is mandated
pkgver=2.0.0.r8.gba9190284
pkgrel=02
pkgdesc="Fast and lightweight IDE gtk3 git version "
url="http://github.com/geany/geany"
depends=('gtk3' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('git' 'automake' 'autoconf' 'intltool')
conflicts=('geany' 'geany-gtk2''geany-gtk2-git' 'geany-git')
provides=('geany')
source=("${_pkgname}"::"git+https://github.com/geany/geany.git") ##commit=$_commit")
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
./autogen.sh --prefix=/usr --disable-html-docs --enable-gtk3
make
}
package() {
cd "${srcdir}/${_pkgname}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('GPL2')
sha256sums=(SKIP)
## 886260f0a966c451a4f983f2074e3128682e301e23ded216d6bf8d86b93ce88d geany-gtk3-2.0.0.r8.gba9190284-02-x86_64.pkg.tar.lz

32
geany-gtk3/PKGBUILD-aur Normal file
View file

@ -0,0 +1,32 @@
# Contributor: Amiad <amiadb at gmail dot com>
_pkgname=geany
pkgname=geany-gtk2-git
pkgver=1.37.1.r0.g26f4813f0
pkgrel=1
pkgdesc="Fast and lightweight IDE (git version)"
arch=('x86_64' 'i686')
url="http://github.com/geany/geany"
license=('GPL2')
depends=('gtk2' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('git' 'automake' 'autoconf' 'intltool')
conflicts=('geany')
provides=('geany')
source=("${pkgname}"::"git+https://github.com/geany/geany.git#branch=1.37")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
./autogen.sh --prefix=/usr --disable-html-docs --enable-gtk2
make
}
package() {
cd "${srcdir}/${pkgname}"
make PREFIX=/usr DESTDIR="$pkgdir" install
}

1
geany-gtk3/clean Normal file
View file

@ -0,0 +1 @@
rm -rf {src,pkg,geany}

11
geany-gtk3/deps Normal file
View file

@ -0,0 +1,11 @@
gtk3
hicolor-icon-theme
desktop-file-utils
git
automake
autoconf
intltool
at-spi2-core
gettext

6
geany-gtk3/time Normal file
View file

@ -0,0 +1,6 @@
real 3m22.885s
user 3m13.400s
sys 0m12.993s