diff options
author | Jorge Barroso | 2015-06-15 21:32:06 +0200 |
---|---|---|
committer | Jorge Barroso | 2015-06-15 21:32:06 +0200 |
commit | be2829d00171b7dd0102ecba842cde7c6c552ae3 (patch) | |
tree | 293bb483f0cbaf69345d7ce3b645c1555b324494 | |
download | aur-be2829d00171b7dd0102ecba842cde7c6c552ae3.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f25224c75f9e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = purple-line-git + pkgdesc = Line plugin for pidgin (libpurple) + pkgver = 20150426 + pkgrel = 1 + url = http://altrepo.eu/git/purple-line.git/ + arch = x86_64 + arch = i686 + license = custom + makedepends = git + makedepends = boost + depends = libpurple + depends = thrift + source = purple-line::git+http://altrepo.eu/git/purple-line.git/ + source = line-protocol::git+http://altrepo.eu/git/line-protocol.git/ + sha256sums = SKIP + sha256sums = SKIP + +pkgname = purple-line-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ac0be7eb0a81 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +#! /bin/sh +# Contributor: Yen Chi Hsuan <yan12125 at gmail dot com> +# Maintainer: Jorge Barroso <jorge.barroso.11 at gmail dot com> + +_pkgname=purple-line +pkgname=${_pkgname}-git +pkgver=20150426 +pkgrel=1 +pkgdesc="Line plugin for pidgin (libpurple)" +arch=('x86_64' 'i686') +license=('custom') +url='http://altrepo.eu/git/purple-line.git/' +depends=('libpurple' 'thrift') +makedepends=('git' 'boost') +source=( + "${_pkgname}"::"git+http://altrepo.eu/git/purple-line.git/" + "line-protocol"::"git+http://altrepo.eu/git/line-protocol.git/" +) +sha256sums=("SKIP" "SKIP") + +pkgver() { + cd "${srcdir}/${_pkgname}" + git log -1 --format='%cd' --date=short | tr -d -- '-' +} + +build() { + cd ${srcdir}/${_pkgname}/ + ln -s ../line-protocol/line_main.thrift + make +} + +package() { + cd ${srcdir}/${_pkgname}/libpurple/ + install -Dm755 libline.so "${pkgdir}/usr/lib/purple-2/libline.so" +} + |