summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 185b543b8dc2d7be39978964e65ebcd7b0e83949 (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
29
30
31
# Maintainer: Remy Kaldawy <remykaldawy@gmail.com>
pkgname=gifpaper
pkgver=1.2.2.r0.g2ea47fe
pkgrel=1
pkgdesc="Gif wallpapers with X11"
arch=('x86_64')
url="https://gitlab.com/rkaldawy/gifpaper"
license=('GPL3')
groups=()
depends=( 'imlib2>=1.5.1'
          'libx11>=1.6.7'
          'libpng>=1.6.37'
          'ffmpeg>=1.4.1' )
makedepends=('git')
source=(git+https://gitlab.com/rkaldawy/gifpaper.git)
md5sums=('SKIP') #autofill using updpkgsums

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$pkgname"
  make
}

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir/" install
}