summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 477fafe56d8d0433bca4f8607de56cac302ecb11 (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: Schwonder Reismus <schw0reismus@protonmail.com>

pkgname=tox_extension_messages
pkgver=0.0.3
pkgrel=1
pkgdesc=''
arch=('x86_64')
url='https://github.com/toxext/$pkgname'
license=('GPL3')
depends=()
makedepends=()
source=("https://github.com/toxext/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('71da6b1850d7775db9514ee1e13805e02ef4cae5399369f1e644180c5672c2d1faf7584cd939ea002d7315b36d16233a26697dbefe74bb476c70108db01ea2d9')

prepare() {
  cd $pkgname-$pkgver
  mkdir -p build
}

build() {
  cd $pkgname-$pkgver
  cd build
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  cd build
  make DESTDIR="$pkgdir" install
}