summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e741e5a89929459c421d4be0ac8a548eb762950f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer:  Izzy

pkgname=linedict
pkgver=1.0
pkgrel=1
pkgdesc="A simple dictionary using Youdao webpage source"
url="https://github.com/WingT/linedict"
arch=('x86_64')
license=('MIT')
depends=('libxinerama' 'libxft' 'freetype2' 'pcre' 'curl')
source=("$pkgname-$pkgver::git+https://github.com/WingT/linedict")
sha256sums=('SKIP')

build() {
  cd $pkgname-$pkgver
  make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 FREETYPEINC=/usr/include/freetype2
}

package() {
  cd $pkgname-$pkgver
  make PREFIX=/usr DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}