summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37ca71a93d868ba7b962e20f4552e687021a3fdc (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
#Leanify was created by JayXon 
#https://github.com/JayXon
#
# aur package by: Juan Jaramillo <jmboris at gmail dot com>

pkgname=leanify
pkgver=0.4.3
pkgrel=1
pkgdesc="lightweight lossless file minifier/optimizer"
arch=('i686' 'x86_64')
url="https://github.com/JayXon/Leanify"
license=('MIT')
if [ ${CARCH} == 'x86_64' ]
then
source=(https://github.com/JayXon/Leanify/releases/download/v${pkgver}/leanify_linux64.tgz)
md5sums=('c74577329e48b46ba4c1c5d709252463')
else
source=(https://github.com/JayXon/Leanify/releases/download/v${pkgver}/leanify_linux32.tgz)
md5sums=('4d62118e91d5e4bb5f0ffec5b9ad1dc1')
fi 

package() {
 
  cd "$pkgdir"
    install -dm 755 "$pkgdir/usr/bin/"
    install -m755 "$srcdir/leanify" "$pkgdir/usr/bin/"

}