summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 96f6912b2c52331ffd8e1d82063b048703c9309e (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
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >

pkgname=xorg-mkcomposecache
pkgver=1.2.2
pkgrel=1
pkgdesc="X.Org Compose file cache creator"
arch=(x86_64)
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
groups=('xorg-apps' 'xorg')
source=(https://xorg.freedesktop.org/archive/individual/app/mkcomposecache-${pkgver}.tar.gz)
sha512sums=('616412df0595a858e378903e26af92471a052375510d13e476a64a2c29e942e93e263e39a8e649376c4a11de4534c7f7b3ee398cdeb6d51d6a2d52451c2c486f')

build() {
  cd mkcomposecache-${pkgver}
  ./configure --prefix=/usr --sbindir=/usr/bin
  make
}

package() {
  cd mkcomposecache-${pkgver}
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}