diff options
author | Anton Leontiev | 2016-10-02 13:54:51 +0300 |
---|---|---|
committer | Anton Leontiev | 2016-10-02 13:58:28 +0300 |
commit | a27dbd2f6ff60d78e58bd30ed5f15d68ee2ee22c (patch) | |
tree | 73a9e63f6437a49938b36603bf0aad8f0bdadda6 /PKGBUILD | |
parent | 84de1ffb07639adf098bf17d2cde40a6c1096cb0 (diff) | |
download | aur-gwydump.tar.gz |
Update to 2.1-2
Commands are split into build() and package().
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 13 insertions, 10 deletions
@@ -1,21 +1,24 @@ -# Contributor: Anton Leontiev <bunder /at/ t-25.ru> +# Contributor: Anton Leontiev <scileont /at/ t-25.ru> pkgname=gwydump pkgver=2.1 -pkgrel=1 -pkgdesc="A small program to dump Gwyddion .gwy file structure in a human-readable text format" -url="http://gwyddion.net/gwydump.php" +pkgrel=2 +pkgdesc='A small program to dump Gwyddion .gwy file structure in a human-readable text format' +url='http://gwyddion.net/gwydump.php' license=('GPL') arch=('i686' 'x86_64') depends=('glib2') -makedepends=('pkgconfig') source=(http://downloads.sourceforge.net/project/gwyddion/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz) md5sums=('a7bff369b5d8c07974b99b480ff46f01') build() { - cd $srcdir/$pkgname-$pkgver - make + cd $pkgname-$pkgver + make +} + +package() { + cd $pkgname-$pkgver - # Syntax of pkg-config has changed - sed -i -e "s/--prefix/--variable=prefix/" Makefile - make DESTDIR=$pkgdir install + # Syntax of pkg-config has changed + sed -i -e 's/--prefix/--variable=prefix/' Makefile + make DESTDIR="$pkgdir" install } |