summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 835f5f5859b8df656d3acee7d0000c2d30bf8327 (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
# Maintainer: Alex "grevus" Lobtsov <alex@lobtsov.com>
pkgname=php-browscap
pkgver=6004
pkgrel=1
pkgdesc="PHP browscap"
url="http://browscap.org/"
arch=('x86_64' 'i686')
license=('PHP')
depends=(
    'php'
)
backup=(
    'etc/php/conf.d/browscap.ini'
    'etc/php/extra/browscap.ini'
)

source=(
    browscap.source.ini::http://browscap.org/stream?q=Full_PHP_BrowsCapINI
    browscap.conf.ini
)

sha256sums=('2af2e9d00b95c8fb8d0fab99de853e567823160122e73e792548c5cf078e184b'
            'ab973c3fd8d4842430f70d144278c150061b6e2ff77d7b367f9921fa728ad169')

package() {
  cd "$srcdir"
  install -Dm644 browscap.source.ini "$pkgdir/etc/php/extra/browscap.ini"
  install -Dm644 browscap.conf.ini "$pkgdir/etc/php/conf.d/browscap.ini"
}