summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 43d29126e32f2a469fa1c5ef3f2e5065ba56d2cc (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
# Maintainer: Maks Mazurov <foxcpp@yandex.ru>
# Contributor: Patrick Griffis <tingping@tingping.se>

pkgname=hexchat-otr
pkgver=0.2.2
pkgrel=1
pkgdesc='HexChat plugin for Off-The-Record support'
arch=('i686' 'x86_64')
url='https://github.com/TingPing/hexchat-otr'
license=('GPL2')
conflicts=('hexchat-otr-git')
depends=('libotr' 'hexchat')
source=("https://github.com/TingPing/hexchat-otr/releases/download/$pkgver/hexchat-otr-$pkgver.tar.xz"
        "https://github.com/TingPing/hexchat-otr/releases/download/$pkgver/hexchat-otr-$pkgver.tar.xz.asc")
sha256sums=('e18425f4b20447caddf64a9079b8750200100e158a03575d89457bb6d8f8d5f1'
            'e5bca765e64a9b43479a4b5a5a507643f371e5ecb601c571e7989415feb5d789')
validpgpkeys=('108BF2212A051F4A72B18448B3C7CE210DE76DFC')

build() {
    cd "$pkgname-$pkgver"

    ./configure --prefix=/usr
    make -s
}

package() {
    cd "$pkgname-$pkgver"

    DESTDIR="$pkgdir" make install
}