summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkj-sh6042024-06-30 07:12:12 -0400
committerkj-sh6042024-06-30 07:12:12 -0400
commitda4d8c9a07db428456bd8b54c514cf34216c9b6b (patch)
tree19b054302c10fedfb8a3ffe1549d202b2ccc7ad9
parentd2692e48094062daf0a1defc728b1fa220507633 (diff)
kj-gitbot: libglademm/
-rw-r--r--libglademm/.SRCINFO13
-rw-r--r--libglademm/.gitignore7
-rw-r--r--libglademm/PKGBUILD31
3 files changed, 51 insertions, 0 deletions
diff --git a/libglademm/.SRCINFO b/libglademm/.SRCINFO
new file mode 100644
index 0000000..226d46c
--- /dev/null
+++ b/libglademm/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = libglademm
+ pkgdesc = A C++ wrapper for libglade.
+ pkgver = 2.6.7
+ pkgrel = 604
+ url = http://gtkmm.sourceforge.net/
+ arch = x86_64
+ license = LGPL
+ makedepends = pkgconfig
+ depends = libglade
+ depends = gtkmm
+ source = https://download.gnome.org/sources/libglademm/2.6/libglademm-2.6.7.tar.bz2
+
+pkgname = libglademm
diff --git a/libglademm/.gitignore b/libglademm/.gitignore
new file mode 100644
index 0000000..3dda0c1
--- /dev/null
+++ b/libglademm/.gitignore
@@ -0,0 +1,7 @@
+pkg/
+src/
+*.tar
+*.tar.bz2
+*.tar.zst
+*.tar.gz
+*.tar.xz
diff --git a/libglademm/PKGBUILD b/libglademm/PKGBUILD
new file mode 100644
index 0000000..92d24a1
--- /dev/null
+++ b/libglademm/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor: kj_sh604 <43.splash@gmail.com>
+
+pkgname=libglademm
+pkgver=2.6.7
+pkgrel=604
+pkgdesc="A C++ wrapper for libglade."
+arch=('x86_64')
+url="http://gtkmm.sourceforge.net/"
+license=('LGPL')
+depends=('libglade' 'gtkmm')
+makedepends=('pkgconfig')
+
+# use this source when PKGBUILD breaks in the future:
+# source=(https://aedrielkylejavier.me/assets/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2)
+
+source=(https://download.gnome.org/sources/${pkgname}/2.6/${pkgname}-${pkgver}.tar.bz2)
+
+build() {
+ cd ${pkgname}-${pkgver}
+ CXXFLAGS+=' -std=c++11'
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}