diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-08-14 00:43:13 +0200 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-08-14 06:13:13 +0000 |
commit | be15bb0f65699989158c1a24f94c87faf0e8677b (patch) | |
tree | 6f67d090c874aa4112b0fa2552cde3a9ba12944a | |
parent | f573650a1f07c04b12fd7876e630f31d5071635a (diff) | |
download | aports-be15bb0f65699989158c1a24f94c87faf0e8677b.tar.bz2 aports-be15bb0f65699989158c1a24f94c87faf0e8677b.tar.xz |
main/msmtp: add vim subpackage
-rw-r--r-- | main/msmtp/APKBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/main/msmtp/APKBUILD b/main/msmtp/APKBUILD index 4573f7ab23..efa33d7751 100644 --- a/main/msmtp/APKBUILD +++ b/main/msmtp/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=msmtp pkgver=1.6.2 -pkgrel=0 +pkgrel=1 pkgdesc="SMTP client with a sendmail compatible interface" url="http://msmtp.sourceforge.net/" arch="all" @@ -10,7 +10,7 @@ license="GPLv3+" depends= makedepends="openssl-dev" install= -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-vim:vim" source="http://downloads.sourceforge.net/project/msmtp/msmtp/$pkgver/msmtp-$pkgver.tar.xz" _builddir="$srcdir"/msmtp-$pkgver @@ -44,6 +44,15 @@ package() { make DESTDIR="$pkgdir" install || return 1 } +vim() { + depends="" + pkgdesc="Vim syntax for $pkgname" + arch="noarch" + + install -Dm644 "$_builddir"/scripts/vim/$pkgname.vim \ + "$subpkgdir"/usr/share/vim/vimfiles/syntax/$pkgname.vim +} + md5sums="3baca93c7e5f1aa9d36a2e5b38739ab9 msmtp-1.6.2.tar.xz" sha256sums="2f6ecd7cbfadf548fd55205bd24cb63b84bcbb1185efed917dd7800595a48789 msmtp-1.6.2.tar.xz" sha512sums="74fb87cbf561e59059f7e5587167fb969348077b569d64dbdbfaa39820e6dc02968d77f3bc182fa714a198fa9eeebd80184b44961e2370be5660c8626b483854 msmtp-1.6.2.tar.xz" |