From d8a0bb105ac09f88068276409d41cfca54f197d8 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 8 Jun 2016 20:50:09 +0000
Subject: libaosd: update to 0.2.7-2

---
 abs/core/libaosd/PKGBUILD | 34 ++++++++++++++++++++++------------
 1 file changed, 22 insertions(+), 12 deletions(-)

diff --git a/abs/core/libaosd/PKGBUILD b/abs/core/libaosd/PKGBUILD
index 3d7e742..531bf76 100644
--- a/abs/core/libaosd/PKGBUILD
+++ b/abs/core/libaosd/PKGBUILD
@@ -1,25 +1,35 @@
-# Maintainer: Murtuza Akhtari <inxsible at gmail dot com>
+# Maintainer: X0rg
+# Contributor: Murtuza Akhtari <inxsible at gmail dot com>
 # Contributor: Mildred <silkensedai@online.fr>
+# Contributor: Pierre-Olivier Vauboin <povauboin at gmail dot com>
 
 pkgname=libaosd
 pkgver=0.2.7
-pkgrel=1
+pkgrel=2
 pkgdesc="Atheme On Screen Display library"
 arch=('i686' 'x86_64')
-url="http://www.atheme.org/"
-license=('MIT/X11')
+url="https://github.com/atheme/libaosd"
+license=('MIT')
 depends=('libxcomposite' 'pango')
-source=("http://distfiles.atheme.org/$pkgname-$pkgver.tgz")
-md5sums=('1240768f0b2669092fd384efd97cb080')
+source=("https://github.com/atheme/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('b1d02cc5f1761ab6b1c1f8994a92466f11d91d57af65dcb3204e8c54ea514059')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make
+	cd "$srcdir/$pkgname-$pkgver"
+	msg2 "Run './autogen.sh'..."
+	./autogen.sh
+
+	msg2 "Run './configure'..."
+	./configure --prefix=/usr
+
+	msg2 "Run 'make'..."
+	make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+	cd "$srcdir/$pkgname-$pkgver"
+	make DESTDIR="$pkgdir" install
+
+	msg2 "Install license..."
+	install -Dvm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
-- 
cgit v0.12

