[arch-commits] Commit in mktorrent/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:15:05 UTC 2018


    Date: Friday, November 9, 2018 @ 23:15:04
  Author: felixonmars
Revision: 405213

archrelease: copy trunk to community-staging-x86_64

Added:
  mktorrent/repos/community-staging-x86_64/
  mktorrent/repos/community-staging-x86_64/PKGBUILD
    (from rev 405212, mktorrent/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: mktorrent/repos/community-staging-x86_64/PKGBUILD (from rev 405212, mktorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 23:15:04 UTC (rev 405213)
@@ -0,0 +1,27 @@
+# Contributor: Emil Renner Berthing <esmil at users.sourceforge.net>
+
+pkgname=mktorrent
+pkgver=1.1
+pkgrel=3
+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