blob: 5e34302d98f677f8a3184b463359a8a9e1422337 (
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
|
# Maintainer: atomicfs <https://aur.archlinux.org/account/atomicfs>
pkgname=tt-rss-data-migration-git
_pkgname=ttrss-data-migration
pkgver=r1.1798758
pkgrel=2
pkgdesc="TT-RSS plugin to import and export all articles"
arch=('any')
url="https://dev.tt-rss.org/tt-rss/plugins/ttrss-data-migration"
license=('GPL-3.0-only')
depends=('tt-rss')
makedepends=('git')
provides=('tt-rss-data-migration')
conflicts=('tt-rss-data-migration')
source=("git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
_instdir="${pkgdir}/usr/share/webapps/tt-rss/plugins.local/data_migration"
install -dm755 "${_instdir}"
install -vDm644 "init.php" "${_instdir}/"
install -vDm644 "README.md" "${_instdir}/"
}
|