aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libevent/PKGBUILD25
-rw-r--r--libnotify/PKGBUILD38
-rw-r--r--libproxy/PKGBUILD27
3 files changed, 90 insertions, 0 deletions
diff --git a/libevent/PKGBUILD b/libevent/PKGBUILD
new file mode 100644
index 0000000..40eaeef
--- /dev/null
+++ b/libevent/PKGBUILD
@@ -0,0 +1,25 @@
+#Maintainer: Zee Eichel <zee@dracos-linux.org>
+
+pkgname=libevent
+pkgver=2.1.8
+pkgrel=1
+pkgdesc="An event notification library"
+arch=('x86_64')
+url="http://libevent.org/"
+license=('BSD')
+source=("https://github.com/libevent/libevent/releases/download/release-${pkgver}-stable/libevent-${pkgver}-stable.tar.gz")
+sha256sums=('965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2')
+
+build() {
+ cd "${srcdir}/libevent-${pkgver}-stable"
+
+ ./configure --prefix=/usr --disable-static
+
+ make
+}
+
+package() {
+ cd "${srcdir}/libevent-${pkgver}-stable"
+
+ make install DESTDIR="${pkgdir}"
+}
diff --git a/libnotify/PKGBUILD b/libnotify/PKGBUILD
new file mode 100644
index 0000000..78f7b31
--- /dev/null
+++ b/libnotify/PKGBUILD
@@ -0,0 +1,38 @@
+#Maintainer: Zee Eichel <zee@dracos-linux.org>
+
+pkgname=libnotify
+pkgver=0.7.8
+pkgrel=1
+pkgdesc="Library for sending desktop notifications"
+arch=('x86_64')
+url="https://developer.gnome.org/notification-spec/"
+license=('LGPL')
+depends=('gtk3')
+provides=('notify-send')
+source=("https://download.gnome.org/sources/libnotify/${pkgver:0:3}/libnotify-${pkgver}.tar.xz")
+sha256sums=('69209e0b663776a00c7b6c0e560302a8dbf66b2551d55616304f240bba66e18c')
+
+prepare() {
+ install -v -dm755 "${pkgname}-${pkgver}/build"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}/build"
+
+ meson --prefix /usr \
+ --sysconfdir /etc \
+ --localstatedir /var \
+ --buildtype=plain \
+ -Dtests=false \
+ -Dgtk_doc=false \
+ -Dman=false \
+ ..
+
+ ninja ${MAKEFLAGS}
+}
+
+package() {
+ cd "${pkgname}-${pkgver}/build"
+
+ DESTDIR="${pkgdir}" ninja install
+}
diff --git a/libproxy/PKGBUILD b/libproxy/PKGBUILD
new file mode 100644
index 0000000..cb48e9e
--- /dev/null
+++ b/libproxy/PKGBUILD
@@ -0,0 +1,27 @@
+#Maintainer: Zee Eichel <zee@dracos-linux.org>
+
+pkgname=libproxy
+pkgver=0.4.15
+pkgrel=1
+pkgdesc="Proxy Libraries"
+arch=('x86_64')
+url="https://github.com/libproxy/libproxy/"
+license=('GNU')
+conflicts=("$pkgname" "proxy")
+provides=("proxy")
+source=("https://github.com/libproxy/libproxy/archive/0.4.15.tar.gz")
+sha256sums=("18f58b0a0043b6881774187427ead158d310127fc46a1c668ad6d207fb28b4e0")
+
+build() {
+ cd "$pkgname"-"$pkgver"
+ mkdir build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ ..
+ make
+}
+
+package() {
+ cd "$pkgname"-"$pkgver"
+ cd build
+ make install DESTDIR="${pkgdir}"
+}