[arch-commits] Commit in mktorrent/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 17:07:34 UTC 2020
Date: Tuesday, July 7, 2020 @ 17:07:34
Author: felixonmars
Revision: 659566
archrelease: copy trunk to community-staging-x86_64
Added:
mktorrent/repos/community-staging-x86_64/
mktorrent/repos/community-staging-x86_64/PKGBUILD
(from rev 659563, mktorrent/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: mktorrent/repos/community-staging-x86_64/PKGBUILD (from rev 659563, mktorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 17:07:34 UTC (rev 659566)
@@ -0,0 +1,27 @@
+# Contributor: Emil Renner Berthing <esmil at users.sourceforge.net>
+
+pkgname=mktorrent
+pkgver=1.1
+pkgrel=4
+pkgdesc='Simple command line utility to create BitTorrent metainfo files'
+arch=('x86_64')
+#url='http://mktorrent.sourceforge.net/'
+url="https://github.com/Rudde/mktorrent"
+license=('GPL')
+depends=('openssl')
+#source=("http://downloads.sourceforge.net/mktorrent/mktorrent-${pkgver}.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Rudde/mktorrent/archive/v$pkgver.tar.gz")
+sha256sums=('d0f47500192605d01b5a2569c605e51ed319f557d24cfcbcb23a26d51d6138c9')
+
+build() {
+ cd "$srcdir"/mktorrent-${pkgver}
+ make PREFIX=/usr \
+ USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1 USE_LARGE_FILES=1
+}
+
+package() {
+ cd "$srcdir"/mktorrent-${pkgver}
+ make DESTDIR="$pkgdir" PREFIX=/usr \
+ USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1 USE_LARGE_FILES=1 \
+ install
+}
More information about the arch-commits
mailing list