diff options
author | Albert Berger | 2016-04-02 11:23:52 +0300 |
---|---|---|
committer | Albert Berger | 2016-04-02 11:23:52 +0300 |
commit | 9539337e038ee0c946c9ef57e88d7f258346dc88 (patch) | |
tree | a6250d722120d86747747c9d97e49fa9e7ae7796 /PKGBUILD | |
parent | 6c1ada26ecea3227f07419d7c5642a7be2e0b953 (diff) | |
download | aur-9539337e038ee0c946c9ef57e88d7f258346dc88.tar.gz |
add github submodules
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -16,7 +16,9 @@ replaces=() backup=() options=() install= -source=("${pkgname%-git}::git+$url#branch=master") +source=("${pkgname%-git}::git+$url#branch=master" + "git://github.com/nbdsp/appsm.git" + "git://github.com/nbdsp/dtlsm.git") noextract=() md5sums=('SKIP') @@ -31,6 +33,11 @@ package() { cd "${pkgname%-git}" pname="${pkgname%-git}" _username="$(id | sed -e 's/[^(]*(\([^)]*\)).*/\1/')" + + git submodule init + git config submodule.appsm.url $srcdir/regd/appsm + git config submodule.dtlsm.url $srcdir/regd/dtlsm + git submodule update python setup.py install --root="$pkgdir/" --optimize=1 install -Dm644 -o $_username "data/conf.${pname}" "$pkgdir/etc/${pname}/conf.${pname}" install -Dm644 -o $_username "data/${pname}.conf" "$pkgdir/usr/lib/tmpfiles.d/${pname}.conf" |