44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
#!/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
|
|
pkgver=1.38
|
|
pkgrel=03
|
|
pkgdesc='Fast and lightweight IDE'
|
|
arch=(x86_64)
|
|
url='https://www.geany.org/'
|
|
depends=(gtk3)
|
|
makedepends=(doxygen intltool python-lxml)
|
|
optdepends=('geany-plugins: additional functionality'
|
|
'vte3: embedded terminal support')
|
|
source=("https://download.geany.org/$pkgname-$pkgver.tar.bz2"
|
|
'paste.patch::https://github.com/geany/geany/commit/c832f316a670f7c3d34f5c75d63743e2f9bf6563.patch')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
patch -p1 -i ../paste.patch
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --enable-gtk3 --enable-gtkdoc-header --prefix=/usr
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=(GPL)
|
|
|
|
sha256sums=(abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546 # geany-1.38.tar.bz2
|
|
ec7818ffd90f7a0f83c00b622484ea46d7748c8c824b9fc940b78f5d2caa12a4) # paste.patch
|
|
|
|
|