diff options
author | oslik | 2016-03-13 01:02:22 +0300 |
---|---|---|
committer | oslik | 2016-03-13 01:02:22 +0300 |
commit | 52ff49007a5ff07570a3630c2c3a39bfe6df6367 (patch) | |
tree | 9ef3dd75cae9d3a96e3eab6c3b1bad615d6204c9 /PKGBUILD | |
download | aur-xdxf_makedict-git.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b0a2c22363e9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: <oslik@dragon> +pkgname=xdxf_makedict-git +_srcname=xdxf_makedict +pkgver=0.3.1beta1 +pkgrel=1 +epoch= +pkgdesc="XDXF dictionary format and \"makedict\" dictionary converting software" +arch=('i686' 'x86_64') +url="https://github.com/soshial/xdxf_makedict/" +license=('GPL') +groups=() +depends=() +makedepends=() +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("git://github.com/soshial/$_srcname.git" + "$_srcname.patch") +noextract=() +md5sums=('SKIP' "4999f8084679d8a5fcb95a60439ebe9e") + +prepare() { + cd "$srcdir/$_srcname/src" + patch -i "$srcdir/$_srcname.patch" +} + +build() { + mkdir -p "$srcdir/build" + cd "$srcdir/build" + cmake -DCMAKE_INSTALL_PREFIX=/usr "../$_srcname" + make +} + +package() { + cd "$srcdir/build" + + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: |