summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 242a15575eaf01a0aa5c9202155509ad74b1c9b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Miika-Petteri Matikainen <miikapetteri@gmail.com>
pkgname=pidgin-remember-read-status
pkgver=0.1.2
pkgrel=1
pkgdesc="Pidgin plugin to remember which chats are unread when connecting to a chat room"
url="https://github.com/nablaa/pidgin-remember-read-status"
arch=('x86_64' 'i686')
license=('GPLv2')
depends=('pidgin' 'libpurple')
optdepends=()
makedepends=('cmake' 'git')
conflicts=()
replaces=()
backup=()

build() {
	cd "${srcdir}"
	git clone git://github.com/nablaa/pidgin-remember-read-status.git ${pkgname}
	cd ${pkgname}
	git checkout "v${pkgver}"

	mkdir build
	cd build
	cmake ..
	make
}

package() {
	cd "${srcdir}/${pkgname}"

	mkdir -p "${pkgdir}/usr/lib/pidgin"
	cp build/src/libremember_read_status.so "${pkgdir}/usr/lib/pidgin"
}